Gst.BufferPool.prototype.release_buffer

function release_buffer(buffer:Gst.Buffer):void {
    // Gjs wrapper for gst_buffer_pool_release_buffer()
}

Release buffer to pool. buffer should have previously been allocated from pool with Gst.BufferPool.prototype.acquire_buffer.

This function is usually called automatically when the last ref on buffer disappears.

buffer

a Gst.Buffer