diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-01-28 12:29:42 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-01-28 12:32:59 +0200 |
commit | a99d3f8769ed3fd1266d5216ecefebfd1bdcf663 (patch) | |
tree | 4a5cf5e0f2f44b1f9ccea5344c38ef98f0a92990 /gst/debug/gstpushfilesrc.c | |
parent | 00fdca0c14eb9a5fe6b8b9f2d5ce2313e3b32f23 (diff) |
Update and add documentation for plugins with no deps (gst).
Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered.
Diffstat (limited to 'gst/debug/gstpushfilesrc.c')
-rw-r--r-- | gst/debug/gstpushfilesrc.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gst/debug/gstpushfilesrc.c b/gst/debug/gstpushfilesrc.c index 7ef5259c..47daa83e 100644 --- a/gst/debug/gstpushfilesrc.c +++ b/gst/debug/gstpushfilesrc.c @@ -19,26 +19,21 @@ /** * SECTION:element-pushfilesrc - * @short_description: Works like a filesrc, but only push-based (for debugging) * @see_also: filesrc * - * <refsect2> - * <para> * This element is only useful for debugging purposes. It implements an URI * protocol handler for the 'pushfile' protocol and behaves like a file source * element that cannot be activated in pull-mode. This makes it very easy to * debug demuxers or decoders that can operate both pull and push-based in * connection with the playbin element (which creates a source based on the * URI passed). - * </para> + * + * <refsect2> * <title>Example launch line</title> - * <para> - * <programlisting> + * |[ * gst-launch -m playbin uri=pushfile:///home/you/some/file.ogg - * </programlisting> - * This plays back the given file using playbin, with the demuxer operating + * ]| This plays back the given file using playbin, with the demuxer operating * push-based. - * </para> * </refsect2> */ @@ -156,6 +151,7 @@ gst_push_file_src_uri_get_type (void) { return GST_URI_SRC; } + static gchar ** gst_push_file_src_uri_get_protocols (void) { @@ -163,6 +159,7 @@ gst_push_file_src_uri_get_protocols (void) return protocols; } + static const gchar * gst_push_file_src_uri_get_uri (GstURIHandler * handler) { |