From 7f9c0d06ddef42e3e7b98f8de2be9d3f9b94bd07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 8 Jul 2014 11:17:41 +0200 Subject: [PATCH] docs: There is no decodebin2 anymore, don't pretend otherwise --- plugins/elements/gstfilesrc.c | 2 +- plugins/elements/gsttee.c | 2 +- tools/gst-launch.1.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index 3141883..164e3a9 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -28,7 +28,7 @@ * * Example launch line * |[ - * gst-launch filesrc location=song.ogg ! decodebin2 ! autoaudiosink + * gst-launch filesrc location=song.ogg ! decodebin ! autoaudiosink * ]| Play a song.ogg from local dir. * */ diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index fac7bbb..81fcea7 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -37,7 +37,7 @@ * * Example launch line * |[ - * gst-launch filesrc location=song.ogg ! decodebin2 ! tee name=t ! queue ! autoaudiosink t. ! queue ! audioconvert ! goom ! videoconvert ! autovideosink + * gst-launch filesrc location=song.ogg ! decodebin ! tee name=t ! queue ! autoaudiosink t. ! queue ! audioconvert ! goom ! videoconvert ! autovideosink * ]| Play a song.ogg from local dir and render visualisations using the goom * element. * diff --git a/tools/gst-launch.1.in b/tools/gst-launch.1.in index fc82eda..c04ddc6 100644 --- a/tools/gst-launch.1.in +++ b/tools/gst-launch.1.in @@ -334,7 +334,7 @@ This example also shows how to refer to specific pads by name if an element (here: textoverlay) has multiple sink or source pads. .B - gst\-launch textoverlay name=overlay ! videoconvert ! videoscale ! autovideosink filesrc location=movie.avi ! decodebin2 ! videoconvert ! overlay.video_sink filesrc location=movie.srt ! subparse ! overlay.text_sink + gst\-launch textoverlay name=overlay ! videoconvert ! videoscale ! autovideosink filesrc location=movie.avi ! decodebin ! videoconvert ! overlay.video_sink filesrc location=movie.srt ! subparse ! overlay.text_sink .br Play an AVI movie with an external text subtitle stream using playbin -- 2.7.4