Buffer.isSpanFast

Determines whether a gst_buffer_span() can be done without copying the contents, that is, whether the data areas are contiguous sub-buffers of the same buffer. MT safe.

class Buffer
int
isSpanFast

Parameters

buf2 Buffer

the second GstBuffer.

Return Value

Type: int

TRUE if the buffers are contiguous, FALSE if a copy would be required.

Meta