VideoOverlayRectangle.getFlags

Retrieves the flags associated with a #GstVideoOverlayRectangle. This is useful if the caller can handle both premultiplied alpha and non premultiplied alpha, for example. By knowing whether the rectangle uses premultiplied or not, it can request the pixel data in the format it is stored in, to avoid unnecessary conversion.

class VideoOverlayRectangle
getFlags
()

Return Value

Type: gstvideo.types.VideoOverlayFormatFlags

the #GstVideoOverlayFormatFlags associated with the rectangle.