BaseSrc.getAllocator

void getAllocator(out gst.allocator.Allocator allocator, out gst.allocation_params.AllocationParams params)

Lets #GstBaseSrc sub-classes to know the memory allocator used by the base class and its params.

Unref the allocator after usage.

Parameters

allocatorthe #GstAllocator used
paramsthe #GstAllocationParams of allocator