mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
03aa950f7d
Original commit message from CVS: * gst/base/README: * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty), (gst_base_sink_handle_object), (gst_base_sink_loop), (gst_base_sink_change_state): * gst/base/gstbasesink.h: * gst/base/gstbasesrc.c: (gst_base_src_class_init), (gst_base_src_init), (gst_base_src_setcaps), (gst_base_src_getcaps), (gst_base_src_loop), (gst_base_src_default_negotiate), (gst_base_src_negotiate), (gst_base_src_start), (gst_base_src_change_state): * gst/base/gstbasesrc.h: Make basesrc negotiate. Handle the case where preroll fails in basesink. Update README.
42 lines
861 B
Text
42 lines
861 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...
|
|
|
|
GstBaseTransform
|
|
|
|
Base class for simple tranform filters
|
|
|
|
- one sinkpad and one srcpad
|
|
- possible formats on sink and source pad implemented
|
|
with custom transform_caps function. By default uses
|
|
same format on sink and source.
|
|
- 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
|
|
|
|
GstPushSrc
|
|
|
|
Base class for push based source elements
|