config_set_params

function config_set_params(config:Gst.Structure, caps:Gst.Caps, size:Number, min_buffers:Number, max_buffers:Number):void {
    // Gjs wrapper for gst_buffer_pool_config_set_params()
}

Configure config with the given parameters.

config

a Gst.BufferPool configuration

caps

caps for the buffers

size

the size of each buffer, not including prefix and padding

min_buffers

the minimum amount of buffers to allocate.

max_buffers

the maximum amount of buffers to allocate or 0 for unlimited.