mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
1c4ea6213b
Original commit message from CVS: * gst/base/gstbasesink.c: (gst_basesink_init), (gst_basesink_activate): * gst/base/gstbasesrc.c: (gst_basesrc_unlock), (gst_basesrc_is_seekable): * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func), (bin_element_is_sink), (gst_bin_change_state): * gst/gstelement.c: (gst_element_add_pad), (gst_element_query): * gst/gstelement.h: Identify sinks by their flag to avoid overly complicated checks (fow now). Do state changes even for elements not reachable from the sinks. BaseSink is a sink now :) Some more debugging info in the basesrc. |
||
---|---|---|
.. | ||
gstbasesink.c | ||
gstbasesink.h | ||
gstbasesrc.c | ||
gstbasesrc.h | ||
gstbasetransform.c | ||
gstbasetransform.h | ||
gstcollectpads.c | ||
gstcollectpads.h | ||
gstpushsrc.c | ||
gstpushsrc.h | ||
gsttypefindhelper.c | ||
gsttypefindhelper.h | ||
Makefile.am | ||
README |
Base classes ------------ GstBaseSink Base class for sink elements. - one sinkpad - handles state changes - does flushing - preroll with optional preview - pull/push mode - EOS handling FIXME: not much point making it operate in pull mode as a generic base class I guess... GstBaseTransform Base class for simple tranform filters - one sinkpad and one srcpad - formats the same on sink and source pad. - handles state changes - does flushing - push mode - pull mode if transform can operate on arbitrary data GstBaseSrc Base class for getrange based source elements - one sinkpad - handles state changes - pull/push mode - handles seeking/query