gstreamer/libs/gst/base
Wim Taymans add280cd10 gst/: Implement gst_pad_pause/start/stop_task(), take STREAM lock in task function.
Original commit message from CVS:
* gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
(gst_basesink_finish_preroll), (gst_basesink_chain),
(gst_basesink_loop), (gst_basesink_activate),
(gst_basesink_change_state):
* gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
(gst_basesrc_get_range), (gst_basesrc_loop),
(gst_basesrc_activate):
* gst/elements/gsttee.c: (gst_tee_sink_activate):
* gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
(gst_real_pad_init), (gst_real_pad_set_property),
(gst_real_pad_get_property), (gst_pad_set_active),
(gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
(gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
(gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
(gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
(gst_pad_event_default_dispatch), (gst_pad_event_default),
(gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
(gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
(gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
(gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
(gst_pad_stop_task):
* gst/gstpad.h:
* gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_loop), (gst_queue_src_activate):
* gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
(gst_task_get_state):
* gst/gsttask.h:
* gst/schedulers/threadscheduler.c:
(gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
Implement gst_pad_pause/start/stop_task(), take STREAM lock
in task function.
Remove ACTIVE pad flag, use FLUSHING everywhere
Added _pad_chain(), _pad_get_range() to call chain/getrange
functions.
Add locks around IS_FLUSHING when reading.
Take STREAM lock in chain(), get_range() functions so plugins
don't need to take it anymore.
2005-05-25 11:50:11 +00:00
..
gstadapter.c gst/: Implement gst_pad_pause/start/stop_task(), take STREAM lock in task function. 2005-05-25 11:50:11 +00:00
gstadapter.h gst/base/: Ported and added adapter to the base classes. 2005-05-18 09:55:43 +00:00
gstbasesink.c gst/: Implement gst_pad_pause/start/stop_task(), take STREAM lock in task function. 2005-05-25 11:50:11 +00:00
gstbasesink.h Some more documentation. 2005-05-06 08:25:19 +00:00
gstbasesrc.c gst/: Implement gst_pad_pause/start/stop_task(), take STREAM lock in task function. 2005-05-25 11:50:11 +00:00
gstbasesrc.h gst/base/: Added is_seekable to BaseSrc 2005-05-12 10:43:14 +00:00
gstbasetransform.c gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with 2005-05-11 03:37:10 +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
gstcollectpads.c gst/: Added object to help in making collect pad based elements. 2005-05-05 09:31:59 +00:00
gstcollectpads.h gst/: Added object to help in making collect pad based elements. 2005-05-05 09:31:59 +00:00
gstpushsrc.c gst/base/: Added is_seekable to BaseSrc 2005-05-12 10:43:14 +00:00
gstpushsrc.h gst/base/: Added is_seekable to BaseSrc 2005-05-12 10:43:14 +00:00
gsttypefindhelper.c gst/: Handle negative offsets better. Fixes decodebin. 2005-05-09 15:54:26 +00:00
gsttypefindhelper.h Added typefind helper. 2005-04-12 10:52:55 +00:00
Makefile.am gst/base/: Ported and added adapter to the base classes. 2005-05-18 09:55:43 +00:00
README gst/: More work on the generic source base class, implement seeking, query. 2005-04-06 17:30:48 +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
  - handles seeking/query