to rectangle.
VideoOverlayRectangle.copy
gstvideo.video_overlay_rectangle.VideoOverlayRectangle copy() nothrowMakes 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.
Returns
a new #GstVideoOverlayRectangle equivalent