summaryrefslogtreecommitdiff
path: root/gst/audioresample
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-05-09 22:33:26 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-05-10 11:38:19 +0100
commitec5c93f1690323a0a162f7e1401d4d16c83e4a3d (patch)
tree2c6cdd92ee31e26bf73d17bdc285e195dbff8173 /gst/audioresample
parentbf683b9a6c08ea126ae1eb810f4fc9c35c83b48b (diff)
downloadgstreamer-plugins-base-ec5c93f1690323a0a162f7e1401d4d16c83e4a3d.tar.gz
docs: update element example pipelines
- gst-launch -> gst-launch-1.0 - use autoaudiosink and audiovideosink more often - review pipeline examples and descriptions
Diffstat (limited to 'gst/audioresample')
-rw-r--r--gst/audioresample/gstaudioresample.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c
index b4db739d7..a268ebc91 100644
--- a/gst/audioresample/gstaudioresample.c
+++ b/gst/audioresample/gstaudioresample.c
@@ -36,9 +36,10 @@
* <refsect2>
* <title>Example launch line</title>
* |[
- * gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! audio/x-raw, rate=8000 ! alsasink
- * ]| Decode an Ogg/Vorbis downsample to 8Khz and play sound through alsa.
+ * gst-launch-1.0 -v uridecodebin uri=file:///path/to/audio.ogg ! audioconvert ! audioresample ! audio/x-raw, rate=8000 ! autoaudiosink
+ * ]| Decode an audio file and downsample it to 8Khz and play sound.
* To create the Ogg/Vorbis file refer to the documentation of vorbisenc.
+ * This assumes there is an audio sink that will accept/handle 8kHz audio.
* </refsect2>
*/