Buffer.copyInto

Copies the information from src into dest.

If dest already contains memory and flags contains GST_BUFFER_COPY_MEMORY, the memory from src will be appended to dest.

flags indicate which fields will be copied.

class Buffer
bool
copyInto

Parameters

src Buffer
flags GstBufferCopyFlags

flags indicating what metadata fields should be copied.

offset size_t

offset to copy from

size size_t

total size to copy. If -1, all data is copied.

Return Value

Type: bool

TRUE if the copying succeeded, FALSE otherwise.