of the two source buffers.
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
buf2 | the second source #GstBuffer to append. |
offset | the offset in buf2 |
size | the size or -1 of buf2 |
Returns
the new #GstBuffer that contains the memory