bufferGetVideoRegionOfInterestMetaId

Find the #GstVideoRegionOfInterestMeta on buffer with the given id.

Buffers can contain multiple #GstVideoRegionOfInterestMeta metadata items if multiple regions of interests are marked on a frame.

Parameters

buffer gst.buffer.Buffer

a #GstBuffer

id int

a metadata id

Return Value

Type: gstvideo.video_region_of_interest_meta.VideoRegionOfInterestMeta

the #GstVideoRegionOfInterestMeta with id or null when there is no such metadata on buffer.