buffer_add_video_caption_meta


Description:

[ CCode ( cname = "gst_buffer_add_video_caption_meta" ) ]
[ Version ( since = "1.16" ) ]
public unowned CaptionMeta? buffer_add_video_caption_meta (Buffer buffer, CaptionType caption_type, uint8[] data)

Attaches CaptionMeta metadata to buffer with the given parameters.

Parameters:

buffer

a Buffer

caption_type

The type of Closed Caption to add

data

The Closed Caption data

size

The size of data in bytes

Returns:

the CaptionMeta on buffer.


Namespace: Gst.Video