GstPushSrcClass

Subclasses can override any of the available virtual methods or not, as needed. At the minimum, the @fill method should be overridden to produce buffers.

Members

Variables

GstReserved
void*[4] GstReserved;
alloc
GstFlowReturn function(GstPushSrc* src, GstBuffer** buf) alloc;

Ask the subclass to allocate a buffer. The subclass decides which size this buffer should be. The default implementation will create a new buffer from the negotiated allocator.

create
GstFlowReturn function(GstPushSrc* src, GstBuffer** buf) create;

Ask the subclass to create a buffer. The subclass decides which size this buffer should be. Other then that, refer to #GstBaseSrc<!-- -->.create() for more details. If this method is not implemented, @alloc followed by @fill will be called.

fill
GstFlowReturn function(GstPushSrc* src, GstBuffer* buf) fill;

Ask the subclass to fill the buffer with data.

parentClass
GstBaseSrcClass parentClass;

Element parent class