Buffer.copyInto
bool copyInto(gst.buffer.Buffer src, gst.types.BufferCopyFlags flags, size_t offset, size_t size)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.
Parameters
src | a source #GstBuffer |
flags | flags indicating what metadata fields should be copied. |
offset | offset to copy from |
size | total size to copy. If -1, all data is copied. |
Returns
true if the copying succeeded, false otherwise.