From 49ccb72b4751d608a0160533c18c9e3f9fcec7ab Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Thu, 19 Nov 2015 17:24:53 +0000 Subject: [PATCH] docs: update gst-launch-0.10 lines Update references to gst-launch-0.10 to gst-launch-1.0 --- ext/mpeg2enc/gstmpeg2enc.cc | 4 ++-- ext/opencv/gstedgedetect.cpp | 2 +- ext/opencv/gstmotioncells.cpp | 2 +- ext/opencv/gsttemplatematch.cpp | 2 +- gst/dataurisrc/gstdataurisrc.c | 2 +- gst/mve/gstmvemux.c | 2 +- gst/pcapparse/gstirtspparse.c | 2 +- gst/pcapparse/gstpcapparse.c | 2 +- tests/check/elements/dataurisrc.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc index 9e631e3..bff4c70 100644 --- a/ext/mpeg2enc/gstmpeg2enc.cc +++ b/ext/mpeg2enc/gstmpeg2enc.cc @@ -34,7 +34,7 @@ * * Example pipeline * |[ - * gst-launch-0.10 videotestsrc num-buffers=1000 ! mpeg2enc ! filesink location=videotestsrc.m1v + * gst-launch-1.0 videotestsrc num-buffers=1000 ! mpeg2enc ! filesink location=videotestsrc.m1v * ]| This example pipeline will encode a test video source to a an MPEG1 * elementary stream (with Generic MPEG1 profile). * @@ -47,7 +47,7 @@ * in the example above) allow most parameters to be adjusted. * * |[ - * gst-launch-0.10 videotestsrc num-buffers=1000 ! videoscale ! mpeg2enc format=1 norm=p ! filesink location=videotestsrc.m1v + * gst-launch-1.0 videotestsrc num-buffers=1000 ! videoscale ! mpeg2enc format=1 norm=p ! filesink location=videotestsrc.m1v * ]| This will produce an MPEG1 profile stream according to VCD2.0 specifications * for PAL #GstMpeg2enc:norm (as the image height is dependent on video norm). * diff --git a/ext/opencv/gstedgedetect.cpp b/ext/opencv/gstedgedetect.cpp index 5ecf8ec..c27e4e9 100644 --- a/ext/opencv/gstedgedetect.cpp +++ b/ext/opencv/gstedgedetect.cpp @@ -51,7 +51,7 @@ * * Example launch line * |[ - * gst-launch-0.10 videotestsrc ! decodebin ! videoconvert ! edgedetect ! videoconvert ! xvimagesink + * gst-launch-1.0 videotestsrc ! decodebin ! videoconvert ! edgedetect ! videoconvert ! xvimagesink * ]| * */ diff --git a/ext/opencv/gstmotioncells.cpp b/ext/opencv/gstmotioncells.cpp index 1fde6ec..77a806c 100644 --- a/ext/opencv/gstmotioncells.cpp +++ b/ext/opencv/gstmotioncells.cpp @@ -50,7 +50,7 @@ * * Example launch line * |[ - * gst-launch-0.10 videotestsrc pattern=18 ! videorate ! videoscale ! video/x-raw,width=320,height=240,framerate=5/1 ! videoconvert ! motioncells ! videoconvert ! xvimagesink + * gst-launch-1.0 videotestsrc pattern=18 ! videorate ! videoscale ! video/x-raw,width=320,height=240,framerate=5/1 ! videoconvert ! motioncells ! videoconvert ! xvimagesink * ]| * */ diff --git a/ext/opencv/gsttemplatematch.cpp b/ext/opencv/gsttemplatematch.cpp index b064a5f..3e77238 100644 --- a/ext/opencv/gsttemplatematch.cpp +++ b/ext/opencv/gsttemplatematch.cpp @@ -52,7 +52,7 @@ * * Example launch line * |[ - * gst-launch-0.10 videotestsrc ! decodebin ! videoconvert ! templatematch template=/path/to/file.jpg ! videoconvert ! xvimagesink + * gst-launch-1.0 videotestsrc ! decodebin ! videoconvert ! templatematch template=/path/to/file.jpg ! videoconvert ! xvimagesink * ]| * */ diff --git a/gst/dataurisrc/gstdataurisrc.c b/gst/dataurisrc/gstdataurisrc.c index 1fde36d..c891008 100644 --- a/gst/dataurisrc/gstdataurisrc.c +++ b/gst/dataurisrc/gstdataurisrc.c @@ -27,7 +27,7 @@ * * Example launch line * |[ - * gst-launch-0.10 -v dataurisrc uri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAfElEQVQ4je2MwQnAIAxFgziA4EnczIsO4MEROo/gzZWc4xdTbe1R6LGRR74heYS7iKElzfcMiRnt4hf8gk8EayB6luefue/HzlJfCA50XsNjYRxprZmenXNIKSGEsC+QUqK1hhgj521BzhnWWiilUGvdF5RS4L2HMQZCCJy8sHMm2TYdJAAAAABJRU5ErkJggg==" ! pngdec ! videoconvert ! freeze ! videoconvert ! autovideosink + * gst-launch-1.0 -v dataurisrc uri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAfElEQVQ4je2MwQnAIAxFgziA4EnczIsO4MEROo/gzZWc4xdTbe1R6LGRR74heYS7iKElzfcMiRnt4hf8gk8EayB6luefue/HzlJfCA50XsNjYRxprZmenXNIKSGEsC+QUqK1hhgj521BzhnWWiilUGvdF5RS4L2HMQZCCJy8sHMm2TYdJAAAAABJRU5ErkJggg==" ! pngdec ! videoconvert ! freeze ! videoconvert ! autovideosink * ]| This pipeline displays a small 16x16 PNG image from the data URI. * */ diff --git a/gst/mve/gstmvemux.c b/gst/mve/gstmvemux.c index 043211c..a7a32cb 100644 --- a/gst/mve/gstmvemux.c +++ b/gst/mve/gstmvemux.c @@ -18,7 +18,7 @@ */ /* -gst-launch-0.10 filesrc location=movie.mve ! mvedemux name=d ! +gst-launch-1.0 filesrc location=movie.mve ! mvedemux name=d ! video/x-raw-rgb ! mvemux quick=true name=m ! filesink location=test.mve d. ! audio/x-raw-int ! m. */ diff --git a/gst/pcapparse/gstirtspparse.c b/gst/pcapparse/gstirtspparse.c index 8f5f6f6..88a0096 100644 --- a/gst/pcapparse/gstirtspparse.c +++ b/gst/pcapparse/gstirtspparse.c @@ -30,7 +30,7 @@ * * Example launch line * |[ - * gst-launch-0.10 filesrc location=h264crasher.pcap ! pcapparse ! irtspparse + * gst-launch-1.0 filesrc location=h264crasher.pcap ! pcapparse ! irtspparse * ! rtph264depay ! ffdec_h264 ! fakesink * ]| Read from a pcap dump file using filesrc, extract the raw TCP packets, * depayload and decode them. diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c index 485ec43..50ee24e 100644 --- a/gst/pcapparse/gstpcapparse.c +++ b/gst/pcapparse/gstpcapparse.c @@ -28,7 +28,7 @@ * * Example pipelines * |[ - * gst-launch-0.10 filesrc location=h264crasher.pcap ! pcapparse ! rtph264depay + * gst-launch-1.0 filesrc location=h264crasher.pcap ! pcapparse ! rtph264depay * ! ffdec_h264 ! fakesink * ]| Read from a pcap dump file using filesrc, extract the raw UDP packets, * depayload and decode them. diff --git a/tests/check/elements/dataurisrc.c b/tests/check/elements/dataurisrc.c index 8deeccf..b034b2e 100644 --- a/tests/check/elements/dataurisrc.c +++ b/tests/check/elements/dataurisrc.c @@ -23,7 +23,7 @@ #include /* sine wave encoded in ogg/vorbis, created with: - * gst-launch-0.10 audiotestsrc num-buffers=110 ! audioconvert ! \ + * gst-launch-1.0 audiotestsrc num-buffers=110 ! audioconvert ! \ * audio/x-raw,channels=1 ! vorbisenc ! oggmux ! \ * filesink location=sine.ogg * and then encoded to base64 */ -- 2.7.4