Buffer.appendRegion

gst.buffer.Buffer appendRegion(gst.buffer.Buffer buf2, ptrdiff_t offset, ptrdiff_t size)

Appends 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.

Parameters

buf2the second source #GstBuffer to append.
offsetthe offset in buf2
sizethe size or -1 of buf2

Returns

the new #GstBuffer that contains the memory

of the two source buffers.