Buffer.copyMetadata

Copies the metadata from src into dest. The data, size and mallocdata fields are not copied. flags indicate which fields will be copied. Use GST_BUFFER_COPY_ALL to copy all the metadata fields. This function is typically called from a custom buffer copy function after creating dest and setting the data, size, mallocdata.

class Buffer
void
copyMetadata

Parameters

src Buffer

a source GstBuffer

flags GstBufferCopyFlags

flags indicating what metadata fields should be copied. Since 0.10.13

Meta