From 8e462968cfa794349728a2b6604c0fcc8dd01ca3 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 29 Jan 2009 11:07:59 +0200 Subject: [PATCH] Remove version numbers from a few gst-launch examples. The majority of the examples doe not use -0.10 and this will also help us to maintain the docs. --- gst/avi/gstavimux.c | 4 ++-- gst/interleave/deinterleave.c | 4 ++-- gst/interleave/interleave.c | 4 ++-- sys/directdraw/gstdirectdrawsink.c | 2 +- sys/directsound/gstdirectsoundsink.c | 4 ++-- sys/osxvideo/osxvideosink.m | 2 +- sys/v4l2/gstv4l2src.c | 2 +- sys/waveform/gstwaveformsink.c | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index e648d3e..57ae52b 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -34,7 +34,7 @@ * Example launch lines * (write everything in one line, without the backslash characters) * |[ - * gst-launch-0.10 videotestsrc num-buffers=250 \ + * gst-launch videotestsrc num-buffers=250 \ * ! 'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240,framerate=(fraction)25/1' \ * ! queue ! mux. \ * audiotestsrc num-buffers=440 ! audioconvert \ @@ -44,7 +44,7 @@ * with a test picture and an uncompressed audio stream containing a * test sound. * |[ - * gst-launch-0.10 videotestsrc num-buffers=250 \ + * gst-launch videotestsrc num-buffers=250 \ * ! 'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240,framerate=(fraction)25/1' \ * ! xvidenc ! queue ! mux. \ * audiotestsrc num-buffers=440 ! audioconvert ! 'audio/x-raw-int,rate=44100,channels=2' \ diff --git a/gst/interleave/deinterleave.c b/gst/interleave/deinterleave.c index 4c81d39..84a8f45 100644 --- a/gst/interleave/deinterleave.c +++ b/gst/interleave/deinterleave.c @@ -47,11 +47,11 @@ * * Example launch line * |[ - * gst-launch-0.10 filesrc location=/path/to/file.mp3 ! decodebin ! audioconvert ! "audio/x-raw-int,channels=2 ! deinterleave name=d d.src0 ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink location=channel1.ogg d.src1 ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink location=channel2.ogg + * gst-launch filesrc location=/path/to/file.mp3 ! decodebin ! audioconvert ! "audio/x-raw-int,channels=2 ! deinterleave name=d d.src0 ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink location=channel1.ogg d.src1 ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink location=channel2.ogg * ]| Decodes an MP3 file and encodes the left and right channel into separate * Ogg Vorbis files. * |[ - * gst-launch-0.10 filesrc location=file.mp3 ! decodebin ! audioconvert ! "audio/x-raw-int,channels=2" ! deinterleave name=d interleave name=i ! audioconvert ! wavenc ! filesink location=test.wav d.src0 ! queue ! audioconvert ! i.sink1 d.src1 ! queue ! audioconvert ! i.sink0 + * gst-launch filesrc location=file.mp3 ! decodebin ! audioconvert ! "audio/x-raw-int,channels=2" ! deinterleave name=d interleave name=i ! audioconvert ! wavenc ! filesink location=test.wav d.src0 ! queue ! audioconvert ! i.sink1 d.src1 ! queue ! audioconvert ! i.sink0 * ]| Decodes and deinterleaves a Stereo MP3 file into separate channels and * then interleaves the channels again to a WAV file with the channel with the * channels exchanged. diff --git a/gst/interleave/interleave.c b/gst/interleave/interleave.c index 831e928..34b88de 100644 --- a/gst/interleave/interleave.c +++ b/gst/interleave/interleave.c @@ -47,12 +47,12 @@ * * Example launch line * |[ - * gst-launch-0.10 filesrc location=file.mp3 ! decodebin ! audioconvert ! "audio/x-raw-int,channels=2" ! deinterleave name=d interleave name=i ! audioconvert ! wavenc ! filesink location=test.wav d.src0 ! queue ! audioconvert ! i.sink1 d.src1 ! queue ! audioconvert ! i.sink0 + * gst-launch filesrc location=file.mp3 ! decodebin ! audioconvert ! "audio/x-raw-int,channels=2" ! deinterleave name=d interleave name=i ! audioconvert ! wavenc ! filesink location=test.wav d.src0 ! queue ! audioconvert ! i.sink1 d.src1 ! queue ! audioconvert ! i.sink0 * ]| Decodes and deinterleaves a Stereo MP3 file into separate channels and * then interleaves the channels again to a WAV file with the channel with the * channels exchanged. * |[ - * gst-launch-0.10 interleave name=i ! audioconvert ! wavenc ! filesink location=file.wav filesrc location=file1.wav ! decodebin ! audioconvert ! "audio/x-raw-int,channels=1" ! queue ! i.sink0 filesrc location=file2.wav ! decodebin ! audioconvert ! "audio/x-raw-int,channels=1" ! queue ! i.sink1 + * gst-launch interleave name=i ! audioconvert ! wavenc ! filesink location=file.wav filesrc location=file1.wav ! decodebin ! audioconvert ! "audio/x-raw-int,channels=1" ! queue ! i.sink0 filesrc location=file2.wav ! decodebin ! audioconvert ! "audio/x-raw-int,channels=1" ! queue ! i.sink1 * ]| Interleaves two Mono WAV files to a single Stereo WAV file. * */ diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c index 26babd9..a128b31 100644 --- a/sys/directdraw/gstdirectdrawsink.c +++ b/sys/directdraw/gstdirectdrawsink.c @@ -34,7 +34,7 @@ * * Example pipelines * |[ - * gst-launch-0.10 -v videotestsrc ! directdrawsink + * gst-launch -v videotestsrc ! directdrawsink * ]| a simple pipeline to test the sink * */ diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c index 037a72a..134012a 100644 --- a/sys/directsound/gstdirectsoundsink.c +++ b/sys/directsound/gstdirectsoundsink.c @@ -38,11 +38,11 @@ * * Example pipelines * |[ - * gst-launch-0.10 -v audiotestsrc ! audioconvert ! volume volume=0.1 ! directsoundsink + * gst-launch -v audiotestsrc ! audioconvert ! volume volume=0.1 ! directsoundsink * ]| will output a sine wave (continuous beep sound) to your sound card (with * a very low volume as precaution). * |[ - * gst-launch-0.10 -v filesrc location=music.ogg ! decodebin ! audioconvert ! audioresample ! directsoundsink + * gst-launch -v filesrc location=music.ogg ! decodebin ! audioconvert ! audioresample ! directsoundsink * ]| will play an Ogg/Vorbis audio file and output it. * */ diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m index 3022197..d89a769 100644 --- a/sys/osxvideo/osxvideosink.m +++ b/sys/osxvideo/osxvideosink.m @@ -37,7 +37,7 @@ * * Examples * |[ - * gst-launch-0.10 videotestsrc ! osxvideosink + * gst-launch videotestsrc ! osxvideosink * ]| test the sink * */ diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 6983d69..a90ddf8 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -34,7 +34,7 @@ * ]| This pipeline shows the video captured from /dev/video0 tv card and for * webcams. * |[ - * gst-launch-0.10 v4l2src ! jpegdec ! xvimagesink + * gst-launch v4l2src ! jpegdec ! xvimagesink * ]| This pipeline shows the video captured from a webcam that delivers jpeg * images. * diff --git a/sys/waveform/gstwaveformsink.c b/sys/waveform/gstwaveformsink.c index a561416..19eedc9 100644 --- a/sys/waveform/gstwaveformsink.c +++ b/sys/waveform/gstwaveformsink.c @@ -32,11 +32,11 @@ * * Example pipelines * |[ - * gst-launch-0.10 -v audiotestsrc ! audioconvert ! volume volume=0.1 ! waveformsink + * gst-launch -v audiotestsrc ! audioconvert ! volume volume=0.1 ! waveformsink * ]| will output a sine wave (continuous beep sound) to your sound card (with * a very low volume as precaution). * |[ - * gst-launch-0.10 -v filesrc location=music.ogg ! decodebin ! audioconvert ! audioresample ! waveformsink + * gst-launch -v filesrc location=music.ogg ! decodebin ! audioconvert ! audioresample ! waveformsink * ]| will play an Ogg/Vorbis audio file and output it. * */ -- 2.7.4