bufferAddVideoCaptionMeta

Attaches #GstVideoCaptionMeta metadata to buffer with the given parameters.

Parameters

buffer gst.buffer.Buffer

a #GstBuffer

captionType gstvideo.types.VideoCaptionType

The type of Closed Caption to add

data ubyte[]

The Closed Caption data

Return Value

Type: gstvideo.video_caption_meta.VideoCaptionMeta

the #GstVideoCaptionMeta on buffer.