bufferPoolConfigSetGlMinFreeQueueSize

Instructs the #GstGLBufferPool to keep queue_size amount of buffers around before allowing them for reuse.

This is helpful to allow GPU processing to complete before the CPU operations on the same buffer could start. Particularly useful when uploading or downloading data to/from the GPU.

A value of 0 disabled this functionality.

This value must be less than the configured maximum amount of buffers for this config.

void
bufferPoolConfigSetGlMinFreeQueueSize

Parameters

config gst.structure.Structure

a buffer pool config

queueSize uint

the number of buffers