gstreamer/gst/base
Wim Taymans 8cf38d3d3a gst/: Made base source class, make fakesrc extend it.
Original commit message from CVS:
* gst/base/Makefile.am:
* gst/base/README:
* gst/base/gstbasesink.c: (gst_basesink_base_init),
(gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
(gst_basesink_pad_buffer_alloc), (gst_basesink_init),
(gst_basesink_do_sync), (gst_basesink_chain_unlocked):
* gst/base/gstbasesrc.c: (gst_basesrc_get_type),
(gst_basesrc_base_init), (gst_basesrc_class_init),
(gst_basesrc_init), (gst_basesrc_get_formats),
(gst_basesrc_get_query_types), (gst_basesrc_query),
(gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
(gst_basesrc_set_property), (gst_basesrc_get_property),
(gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
(gst_basesrc_loop), (gst_basesrc_activate),
(gst_basesrc_change_state):
* gst/base/gstbasesrc.h:
* gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
(gst_fakesrc_class_init), (gst_fakesrc_init),
(gst_fakesrc_event_handler), (gst_fakesrc_set_property),
(gst_fakesrc_get_property), (gst_fakesrc_create):
* gst/elements/gstfakesrc.h:
* gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
(gst_filesrc_open_file), (gst_filesrc_loop),
(gst_filesrc_activate), (filesrc_find_peek),
(gst_filesrc_type_find):
Made base source class, make fakesrc extend it.
Add comments to basesink class.
Some filesrc cleanup.
2005-04-05 08:44:20 +00:00
..
gstbasesink.c gst/: Made base source class, make fakesrc extend it. 2005-04-05 08:44:20 +00:00
gstbasesink.h gst/: Simplify pad activation. 2005-03-29 16:18:12 +00:00
gstbasesrc.c gst/: Made base source class, make fakesrc extend it. 2005-04-05 08:44:20 +00:00
gstbasesrc.h gst/: Made base source class, make fakesrc extend it. 2005-04-05 08:44:20 +00:00
gstbasetransform.c gst/: Added start/stop methods to transform base class so subclasses don't need to deal with state changes even. 2005-03-31 10:10:55 +00:00
gstbasetransform.h gst/: Added start/stop methods to transform base class so subclasses don't need to deal with state changes even. 2005-03-31 10:10:55 +00:00
Makefile.am gst/: Made base source class, make fakesrc extend it. 2005-04-05 08:44:20 +00:00
README gst/: Made base source class, make fakesrc extend it. 2005-04-05 08:44:20 +00:00

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