BufferPool.configSetAllocator
void configSetAllocator(gst.structure.Structure config, gst.allocator.Allocator allocator, gst.allocation_params.AllocationParams params)Sets the allocator and params on config.
One of allocator and params can be null, but not both. When allocator is null, the default allocator of the pool will use the values in param to perform its allocation. When param is null, the pool will use the provided allocator with its default #GstAllocationParams.
A call to [gst.buffer_pool.BufferPool.setConfig] can update the allocator and params with the values that it is able to do. Some pools are, for example, not able to operate with different allocators or cannot allocate with the values specified in params. Use [gst.buffer_pool.BufferPool.getConfig] to get the currently used values.
Parameters
config | a #GstBufferPool configuration |
allocator | a #GstAllocator |
params | #GstAllocationParams |