TypeScript API Documentation for GSTREAMER VIDEO
API Version: 1.0
Library Version: 1.0.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Use info and buffer to fill in the values of frame with the video frame information of frame id.
info
buffer
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.
false
All video planes of buffer will be mapped and the pointers will be set in frame->data.
a GstVideo.VideoInfo
the buffer to map
the frame id to map
Gst.MapFlags
true on success.
true
Use
infoandbufferto fill in the values offramewith the video frame information of frameid.When
idis -1, the default frame is mapped. Whenid!= -1, this function will returnfalsewhen there is no GstVideoMeta with that id.All video planes of
bufferwill be mapped and the pointers will be set inframe->data.