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.

Returns

a new #GstVideoOverlayComposition equivalent

to comp.