Gst.BufferPool.prototype.acquire_buffer

function acquire_buffer(params:Gst.BufferPoolAcquireParams):Gst.FlowReturn {
    // Gjs wrapper for gst_buffer_pool_acquire_buffer()
}

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.