PushSrc


Object Hierarchy:

Gst.Base.PushSrc Gst.Base.PushSrc Gst.Base.PushSrc Gst.Base.Src Gst.Base.Src Gst.Base.Src->Gst.Base.PushSrc Gst.Element Gst.Element Gst.Element->Gst.Base.Src Gst.Object Gst.Object Gst.Object->Gst.Element GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gst.Object GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned

Description:

[ CCode ( cname = "GstPushSrc" , lower_case_cprefix = "gst_push_src_" , type_id = "gst_push_src_get_type ()" ) ]
[ GIR ( name = "PushSrc" ) ]
public class PushSrc : Src

This class is mostly useful for elements that cannot do random access, or at least very slowly.

The source usually prefers to push out a fixed size buffer.

Subclasses usually operate in a format that is different from the default GST_FORMAT_BYTES format of Src.

Classes extending this base class will usually be scheduled in a push based mode. If the peer accepts to operate without offsets and within the limits of the allowed block size, this class can operate in getrange based mode automatically. To make this possible, the subclass should implement and override the SCHEDULING query.

The subclass should extend the methods from the baseclass in addition to the ::create method.

Seeking, flushing, scheduling and sync is all handled by this base class.


Namespace: Gst.Base

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gst.Element
All known members inherited from class Gst.Object
All known members inherited from class GLib.Object



2022 vala-language.org