Attaches #GstVideoRegionOfInterestMeta metadata to buffer with the given parameters.
a #GstBuffer
Type of the region of interest (e.g. "face")
X position
Y position
width
height
the #GstVideoRegionOfInterestMeta on buffer.
Attaches #GstVideoRegionOfInterestMeta metadata to buffer with the given parameters.