From 9cf73bdd8f18505269fa4b6d1d80127945e735b1 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 28 Jan 2009 17:46:06 +0200 Subject: Update and add documentation for plugins with deps (ext). Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered. Fix warnings that gtk-doc points out. --- ext/flac/gstflacdec.c | 20 +++++++------------- ext/flac/gstflacenc.c | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 13 deletions(-) (limited to 'ext/flac') diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c index 8244e79a..dedbd617 100644 --- a/ext/flac/gstflacdec.c +++ b/ext/flac/gstflacdec.c @@ -21,26 +21,20 @@ /** * SECTION:element-flacdec - * @seealso: flacenc + * @see_also: #GstFlacEnc * - * - * * flacdec decodes FLAC streams. * FLAC * is a Free Lossless Audio Codec. - * + * + * * Example launch line - * - * + * |[ * gst-launch filesrc location=media/small/dark.441-16-s.flac ! flacdec ! audioconvert ! audioresample ! autoaudiosink - * - * - * Another example launch line - * - * + * ]| + * |[ * gst-launch gnomevfssrc location=http://gstreamer.freedesktop.org/media/small/dark.441-16-s.flac ! flacdec ! audioconvert ! audioresample ! queue min-threshold-buffers=10 ! autoaudiosink - * - * + * ]| * */ diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index e5a7804b..3fade910 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -16,6 +16,21 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +/** + * SECTION:element-flacenc + * @see_also: #GstFlacDec + * + * flacenc encodes FLAC streams. + * FLAC + * is a Free Lossless Audio Codec. + * + * + * Example launch line + * |[ + * gst-launch audiotestsrc num-buffers=100 ! flacenc ! filesink location=beep.flac + * ]| + * + */ /* TODO: - We currently don't handle discontinuities in the stream in a useful * way and instead rely on the developer plugging in audiorate if -- cgit