Gst.BufferPool::acquire_buffer

function vfunc_acquire_buffer(params:Gst.BufferPoolAcquireParams):Gst.FlowReturn {
}

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.

params

parameters.

Returns

a Gst.FlowReturn such as GST_FLOW_FLUSHING when the pool is inactive.