bufferAddVideoMeta

Attaches GstVideoMeta metadata to buffer with the given parameters and the default offsets and strides for format and width x height.

This function calculates the default offsets and strides and then calls gstvideo.global.bufferAddVideoMetaFull with them.

Parameters

buffer gst.buffer.Buffer

a #GstBuffer

flags gstvideo.types.VideoFrameFlags

#GstVideoFrameFlags

format gstvideo.types.VideoFormat

a #GstVideoFormat

width uint

the width

height uint

the height

Return Value

Type: gstvideo.video_meta.VideoMeta

the #GstVideoMeta on buffer.