From a99d3f8769ed3fd1266d5216ecefebfd1bdcf663 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 28 Jan 2009 12:29:42 +0200 Subject: 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. --- gst/debug/progressreport.c | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) (limited to 'gst/debug/progressreport.c') diff --git a/gst/debug/progressreport.c b/gst/debug/progressreport.c index e79f6fd9..8f2547b3 100644 --- a/gst/debug/progressreport.c +++ b/gst/debug/progressreport.c @@ -22,32 +22,26 @@ /** * SECTION:element-progressreport - * @short_description: Reports progress - * @see_also: * - * - * * The progressreport element can be put into a pipeline to report progress, * which is done by doing upstream duration and position queries in regular * (real-time) intervals. Both the interval and the prefered query format - * can be specified via the "update-freq" and the "format" property. - * - * + * can be specified via the #GstProgressReport:update-freq and the + * #GstProgressReport:format property. + * * Element messages containing a "progress" structure are posted on the bus * whenever progress has been queried (since gst-plugins-good 0.10.6 only). - * - * + * * Since the element was originally designed for debugging purposes, it will * by default also print information about the current progress to the - * terminal. This can be prevented by setting the "silent" property to TRUE. - * - * + * terminal. This can be prevented by setting the #GstProgressReport:silent + * property to %TRUE. + * * This element is most useful in transcoding pipelines or other situations * where just querying the pipeline might not lead to the wanted result. For * progress in TIME format, the element is best placed in a 'raw stream' * section of the pipeline (or after any demuxers/decoders/parsers). - * - * + * * Three more things should be pointed out: firstly, the element will only * query progress when data flow happens. If data flow is stalled for some * reason, no progress messages will be posted. Secondly, there are other @@ -58,20 +52,15 @@ * take action when they receive an EOS message (since the progress reported * is in reference to an internal point of a pipeline and not the pipeline as * a whole). - * + * + * * Example launch line - * - * + * |[ * gst-launch -m filesrc location=foo.ogg ! decodebin ! progressreport update-freq=1 ! audioconvert ! audioresample ! autoaudiosink - * - * This shows a progress query where a duration is available. - * - * - * + * ]| This shows a progress query where a duration is available. + * |[ * gst-launch -m audiotestsrc ! progressreport update-freq=1 ! audioconvert ! autoaudiosink - * - * This shows a progress query where no duration is available. - * + * ]| This shows a progress query where no duration is available. * */ -- cgit