Makes a copy of this 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.
This should be avoided unless rectangles need to be modified because it invalidates caching in sinks and compositor elements. To add extra rectangles it is rather recommended to add an extra composition meta using buffer_add_video_overlay_composition_meta.
| this |
a OverlayComposition to copy |
|
a new OverlayComposition equivalent to this. |