buffer_add_video_meta


Description:

[ CCode ( cname = "gst_buffer_add_video_meta" ) ]
public unowned Meta? buffer_add_video_meta (Buffer buffer, FrameFlags flags, Format format, uint width, uint height)

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 buffer_add_video_meta_full with them.

Parameters:

buffer

a Buffer

flags

FrameFlags

format

a Format

width

the width

height

the height

Returns:

the Meta on buffer.


Namespace: Gst.Video