mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
82a12763e8
Original commit message from CVS: * gst/base/README: * gst/base/gstbasesink.c: (gst_basesink_get_template), (gst_basesink_base_init), (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps), (gst_basesink_pad_buffer_alloc), (gst_basesink_init), (gst_base_sink_get_template), (gst_base_sink_get_caps), (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc), (gst_basesink_finish_preroll), (gst_basesink_event), (gst_basesink_get_times), (gst_basesink_do_sync), (gst_basesink_change_state): Added small README for base classes. Make default getcaps function in the base class return a copy of the padtemplate caps if nothing else.
16 lines
298 B
Text
16 lines
298 B
Text
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...
|