Gst.Buffer.prototype.copy_into
function copy_into(src:Gst.Buffer, flags:Gst.BufferCopyFlags, offset:gsize, size:gsize):Boolean { // Gjs wrapper for gst_buffer_copy_into() }
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.
- src
a source Gst.Buffer
- 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.