gst_video_overlay_composition_unref() when no longer needed.
VideoOverlayComposition.this
this
(gstvideo.video_overlay_rectangle.VideoOverlayRectangle rectangle = null)Creates a new video overlay composition object to hold one or more overlay rectangles.
Note that since 1.20 this allows to pass null for rectangle.
Parameters
rectangle | a #GstVideoOverlayRectangle to add to the composition |
Returns
a new #GstVideoOverlayComposition. Unref with