VideoOverlayRectangle.copy

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

Return Value

Type: gstvideo.video_overlay_rectangle.VideoOverlayRectangle

a new #GstVideoOverlayRectangle equivalent to rectangle.