![]() |
![]() |
![]() |
GStreamer 0.10 Library Reference Manual | ![]() |
---|
GstPushSrcGstPushSrc — Base class for push based source elements |
#include <gst/base/gstpushsrc.h> GstPushSrc;
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 GstBaseSrc.
Classes extending this base class will usually be scheduled in a push based mode. If the peer accepts to operate without offsets and withing the limits of the allowed block size, this class can operate in getrange based mode automatically.
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.
typedef struct { GstBaseSrc parent; } GstPushSrc;
The opaque GstPushSrc data structure.
GstBaseSrc parent ; |
the parent base source object. |
<< GstBaseTransform | GstAdapter >> |