Gst.Buffer.prototype.append_region
function append_region(buf2:Gst.Buffer, offset:gssize, size:gssize):Gst.Buffer { // Gjs wrapper for gst_buffer_append_region() }
Append size bytes at offset from buf2 to buf1. The result buffer will contain a concatenation of the memory of buf1 and the requested region of buf2.
- buf2
the second source Gst.Buffer to append.
- offset
the offset in buf2
- size
the size or -1 of buf2
- Returns
the new Gst.Buffer that contains the memory of the two source buffers.