#include <pushsrc.h>
Public Member Functions | |
virtual | ~PushSrc () |
GstPushSrc* | gobj () |
Provides access to the underlying C GObject. | |
const GstPushSrc* | gobj () const |
Provides access to the underlying C GObject. | |
GstPushSrc* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gst::PushSrc> | wrap (GstPushSrc* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
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 Gst::BaseSrc.
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 override the Gst::BaseSrc::check_get_range_vfunc() method.
The subclass should extend the methods from the baseclass in addition to the GstBaseSrc::create_vfunc() method.
Seeking, flushing, scheduling and sync is all handled by this base class.
Last reviewed on 2006-07-04 (0.10.9).
virtual Gst::PushSrc::~PushSrc | ( | ) | [virtual] |
const GstPushSrc* Gst::PushSrc::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::BaseSrc.
Reimplemented in Gst::FdSrc, GstBase::AlsaSrc, GstBase::AudioSrc, GstBase::BaseAudioSrc, GstBase::CddaBaseSrc, GstBase::CdParanoiaSrc, and GstBase::VideoTestSrc.
GstPushSrc* Gst::PushSrc::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::BaseSrc.
Reimplemented in Gst::FdSrc, GstBase::AlsaSrc, GstBase::AudioSrc, GstBase::BaseAudioSrc, GstBase::CddaBaseSrc, GstBase::CdParanoiaSrc, and GstBase::VideoTestSrc.
GstPushSrc* Gst::PushSrc::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Gst::BaseSrc.
Reimplemented in Gst::FdSrc, GstBase::AlsaSrc, GstBase::AudioSrc, GstBase::BaseAudioSrc, GstBase::CddaBaseSrc, GstBase::CdParanoiaSrc, and GstBase::VideoTestSrc.
Glib::RefPtr<Gst::PushSrc> wrap | ( | GstPushSrc * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |