VideoOverlayComposition.copy

Makes a copy of comp and all contained rectangles, so that it is possible to modify the composition and contained rectangles (e.g. add additional rectangles or change the render co-ordinates or render dimension). The actual overlay pixel data buffers contained in the rectangles are not copied.

Return Value

Type: gstvideo.video_overlay_composition.VideoOverlayComposition

a new #GstVideoOverlayComposition equivalent to comp.