Use info and buffer to fill in the values of frame with the video frame information of frame id.
When id is -1, the default frame is mapped. When id != -1, this function will return false when there is no GstVideoMeta with that id.
All video planes of buffer will be mapped and the pointers will be set in frame->data.
pointer to #GstVideoFrame
a #GstVideoInfo
the buffer to map
the frame id to map
#GstMapFlags
true on success.
Use info and buffer to fill in the values of frame with the video frame information of frame id.
When id is -1, the default frame is mapped. When id != -1, this function will return false when there is no GstVideoMeta with that id.
All video planes of buffer will be mapped and the pointers will be set in frame->data.