inactive.
BufferPool.acquireBuffer
gst.types.FlowReturn acquireBuffer(out gst.buffer.Buffer buffer, gst.types.BufferPoolAcquireParams params)Acquires a buffer from pool. buffer should point to a memory location that can hold a pointer to the new buffer. When the pool is empty, this function will by default block until a buffer is released into the pool again or when the pool is set to flushing or deactivated.
params can contain optional parameters to influence the allocation.
Parameters
buffer | a location for a #GstBuffer |
params | parameters. |
Returns
a #GstFlowReturn such as [gst.types.FlowReturn.Flushing] when the pool is