gstreamer/libs/gst/base
Wim Taymans 7f4581d977 gst/base/gstbasetransform.*: Make passthrough work using the bufferpools.
Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_transform_caps), (gst_base_transform_getcaps),
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
(gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer), (gst_base_transform_getrange),
(gst_base_transform_chain), (gst_base_transform_change_state),
(gst_base_transform_set_passthrough),
(gst_base_transform_is_passthrough):
* gst/base/gstbasetransform.h:
Make passthrough work using the bufferpools.
Changed API a bit, subclasses have to write into a buffer
provided by the base class.
More debug info in nego functions.

* gst/elements/gstidentity.c: (gst_identity_init),
(gst_identity_transform):
Port to new base class.
2005-07-15 10:41:32 +00:00
..
.gitignore ignore more 2005-06-17 09:12:33 +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 more macro splitting 2005-07-10 12:03:13 +00:00
gstbasesink.h more macro splitting 2005-07-10 12:03:13 +00:00
gstbasesrc.c gst/base/gstbasesrc.c: Post error messages on errors. 2005-07-14 18:45:51 +00:00
gstbasesrc.h add num-buffers property to basesrc 2005-07-11 15:06:27 +00:00
gstbasetransform.c gst/base/gstbasetransform.*: Make passthrough work using the bufferpools. 2005-07-15 10:41:32 +00:00
gstbasetransform.h gst/base/gstbasetransform.*: Make passthrough work using the bufferpools. 2005-07-15 10:41:32 +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 more autistic cleanliness in functions/names/defines 2005-07-14 09:35:12 +00:00
gstpushsrc.h more autistic cleanliness in functions/names/defines 2005-07-14 09:35:12 +00:00
gsttypefindhelper.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +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/base/: Make basesrc negotiate. 2005-07-06 13:25:26 +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
  - 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