Buffer.join

Create a new buffer that is the concatenation of the two source buffers, and unrefs the original source buffers. If the buffers point to contiguous areas of memory, the buffer is created without copying the data.

class Buffer
join

Parameters

buf2 Buffer

the second source GstBuffer.

Return Value

Type: Buffer

the new GstBuffer which is the concatenation of the source buffers.

Meta