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/raw1394/gstdv1394src.c | 14 +++++--------- ext/raw1394/gsthdv1394src.c | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 9 deletions(-) (limited to 'ext/raw1394') diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c index 5db691aa..af7b0454 100644 --- a/ext/raw1394/gstdv1394src.c +++ b/ext/raw1394/gstdv1394src.c @@ -22,18 +22,14 @@ /** * SECTION:element-dv1394src * - * - * * Read DV (digital video) data from firewire port. - * + * + * * Example launch line - * - * - * gst-launch dv1394src ! dvdemux name=d ! queue ! dvdec ! xvimagesink d. ! queue ! alsasink - * - * This pipeline captures from the firewire port and displays it (might need + * |[ + * gst-launch dv1394src ! queue ! dvdemux name=d ! queue ! dvdec ! xvimagesink d. ! queue ! alsasink + * ]| This pipeline captures from the firewire port and displays it (might need * format converters for audio/video). - * * */ diff --git a/ext/raw1394/gsthdv1394src.c b/ext/raw1394/gsthdv1394src.c index 8293b4a0..cbb02136 100644 --- a/ext/raw1394/gsthdv1394src.c +++ b/ext/raw1394/gsthdv1394src.c @@ -16,6 +16,21 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +/** + * SECTION:element-hdv1394src + * + * Read MPEG-TS data from firewire port. + * + * + * Example launch line + * |[ + * gst-launch hdv1394src ! queue ! decodebin name=d ! queue ! xvimagesink d. ! queue ! alsasink + * ]| captures from the firewire port and plays the streams. + * |[ + * gst-launch hdv1394src ! queue ! filesink location=mydump.ts + * ]| capture to a disk file + * + */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -776,6 +791,7 @@ gst_hdv1394src_uri_get_type (void) { return GST_URI_SRC; } + static gchar ** gst_hdv1394src_uri_get_protocols (void) { @@ -783,6 +799,7 @@ gst_hdv1394src_uri_get_protocols (void) return protocols; } + static const gchar * gst_hdv1394src_uri_get_uri (GstURIHandler * handler) { -- cgit