GstBase.PushSrcClass

Fields

Name

Type

Access

Description

alloc

object

r

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

object

r

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

fill

object

r

Ask the subclass to fill the buffer with data.

parent_class

GstBase.BaseSrcClass

r

Element parent class

Methods

None

Details

class GstBase.PushSrcClass

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.