Buffer.merge

Create a new buffer that is the concatenation of the two source buffers. The original source buffers will not be modified or unref'd. Make sure you unref the source buffers if they are not used anymore afterwards. If the buffers point to contiguous areas of memory, the buffer is created without copying the data.

class Buffer
merge

Parameters

buf2 Buffer

the second source GstBuffer to merge.

Return Value

Type: Buffer

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

Meta