BaseSrc.getAllocator

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

Unref the allocator after usage.

class BaseSrc
void
getAllocator

Parameters

allocator Allocator
params AllocationParams