BufferPool.acquireBuffer

Acquire a buffer from @pool. @buffer should point to a memory location that can hold a pointer to the new buffer.

@params can be %NULL or contain optional parameters to influence the allocation.

class BufferPool
acquireBuffer

Parameters

buffer Buffer

a location for a #GstBuffer

params GstBufferPoolAcquireParams*

parameters.

Return Value

a #GstFlowReturn such as %GST_FLOW_FLUSHING when the pool is inactive.

Meta