gst/playback/: Add basic docs to decodebin and link to decodebin from decodebin2.

Original commit message from CVS:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
Add basic docs to decodebin and link to decodebin from decodebin2.
This commit is contained in:
Stefan Kost 2008-12-08 15:25:13 +00:00
parent 3c9df39c15
commit 16e2bccc61
3 changed files with 21 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2008-12-08 Stefan Kost <ensonic@users.sf.net>
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
Add basic docs to decodebin and link to decodebin from decodebin2.
2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Olivier Crete <tester at tester ca>

View file

@ -17,6 +17,17 @@
* Boston, MA 02111-1307, USA.
*/
/**
* SECTION:element-decodebin
*
* #GstBin that auto-magically constructs a decoding pipeline using available
* decoders and demuxers via auto-plugging.
*
* When using decodebin in your application, connect a signal handler to
* #GstDecodeBin::new-decoded-pad and connect your sinks from within the
* callback function.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View file

@ -24,11 +24,11 @@
* decoders and demuxers via auto-plugging.
*
* At this stage, decodebin2 is considered UNSTABLE. The API provided in the
* signals is expected to change in the near future.
* signals is expected to change in the near future.
*
* To try out decodebin2, you can set the USE_DECODEBIN2 environment
* To try out decodebin2, you can set the USE_DECODEBIN2 environment
* variable (USE_DECODEBIN2=1 for example). This will cause playbin to use
* decodebin2 instead of the older decodebin for its internal auto-plugging.
* decodebin2 instead of the older #GstDecodeBin for its internal auto-plugging.
*/
#ifdef HAVE_CONFIG_H