mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
113250d274
Original commit message from CVS: * gst/base/Makefile.am: * gst/base/gstbasesink.h: * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query): * gst/base/gstcollectpads.c: (gst_collectpads_get_type), (gst_collectpads_class_init), (gst_collectpads_init), (gst_collectpads_finalize), (gst_collectpads_new), (gst_collectpads_set_function), (gst_collectpads_add_pad), (find_pad), (gst_collectpads_remove_pad), (gst_collectpads_is_active), (gst_collectpads_collect), (gst_collectpads_collect_range), (gst_collectpads_start), (gst_collectpads_stop), (gst_collectpads_peek), (gst_collectpads_pop), (gst_collectpads_available), (gst_collectpads_read), (gst_collectpads_flush), (gst_collectpads_chain): * gst/base/gstcollectpads.h: * gst/elements/Makefile.am: * gst/elements/gstelements.c: * gst/elements/gstfakesink.c: (gst_fakesink_class_init), (gst_fakesink_get_times), (gst_fakesink_event), (gst_fakesink_preroll), (gst_fakesink_render): * gst/elements/gstfilesink.c: (gst_filesink_class_init), (gst_filesink_init), (gst_filesink_set_location), (gst_filesink_open_file), (gst_filesink_close_file), (gst_filesink_pad_query), (gst_filesink_event), (gst_filesink_render), (gst_filesink_change_state): * gst/elements/gstfilesink.h: Added object to help in making collect pad based elements. Ported filesink. Make event function in sink baseclass return gboolean. |
||
---|---|---|
.. | ||
gstbasesink.c | ||
gstbasesink.h | ||
gstbasesrc.c | ||
gstbasesrc.h | ||
gstbasetransform.c | ||
gstbasetransform.h | ||
gstcollectpads.c | ||
gstcollectpads.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