From: Tim-Philipp Müller Date: Fri, 8 May 2015 13:08:42 +0000 (+0100) Subject: docs: gst-launch -> gst-launch-1.0 in example pipelines X-Git-Tag: 1.6.1~336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a9a3c7ef98002f90124efef55a83147a5c483a5;p=platform%2Fupstream%2Fgstreamer.git docs: gst-launch -> gst-launch-1.0 in example pipelines And some small example pipeline fix-ups. --- diff --git a/gst/gstparse.c b/gst/gstparse.c index dd22113..a85fcf0 100644 --- a/gst/gstparse.c +++ b/gst/gstparse.c @@ -27,7 +27,7 @@ * @short_description: Get a pipeline from a text pipeline description * * These function allow to create a pipeline based on the syntax used in the - * gst-launch utility (see man-page for syntax documentation). + * gst-launch-1.0 utility (see man-page for syntax documentation). * * Please note that these functions take several measures to create * somewhat dynamic pipelines. Due to that such pipelines are not always diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c index 6c7ae0d..50fe8ac 100644 --- a/plugins/elements/gstcapsfilter.c +++ b/plugins/elements/gstcapsfilter.c @@ -28,8 +28,11 @@ * * Example launch line * |[ - * gst-launch videotestsrc ! video/x-raw,format=GRAY8 ! videoconvert ! autovideosink - * ]| Limits acceptable video from videotestsrc to be grayscale. + * gst-launch-1.0 videotestsrc ! capsfilter caps=video/x-raw,format=GRAY8 ! videoconvert ! autovideosink + * ]| Limits acceptable video from videotestsrc to be grayscale. Equivalent to + * |[ + * gst-launch-1.0 videotestsrc ! video/x-raw,format=GRAY8 ! videoconvert ! autovideosink + * ]| which is a short notation for the capsfilter element. * */ diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c index 9eb74c6..8a1d1da 100644 --- a/plugins/elements/gstfakesink.c +++ b/plugins/elements/gstfakesink.c @@ -28,7 +28,7 @@ * * Example launch line * |[ - * gst-launch audiotestsrc num-buffers=1000 ! fakesink sync=false + * gst-launch-1.0 audiotestsrc num-buffers=1000 ! fakesink sync=false * ]| Render 1000 audio buffers (of default size) as fast as possible. * */ diff --git a/plugins/elements/gstfakesrc.c b/plugins/elements/gstfakesrc.c index 62434bb..fbcbca9 100644 --- a/plugins/elements/gstfakesrc.c +++ b/plugins/elements/gstfakesrc.c @@ -32,7 +32,7 @@ * * Example launch line * |[ - * gst-launch -v fakesrc num-buffers=5 ! fakesink + * gst-launch-1.0 -v fakesrc num-buffers=5 ! fakesink * ]| This pipeline will push 5 empty buffers to the fakesink element and then * sends an EOS. * diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c index c13cac7..0c2706c 100644 --- a/plugins/elements/gstfilesink.c +++ b/plugins/elements/gstfilesink.c @@ -29,7 +29,7 @@ * * Example launch line * |[ - * gst-launch v4l2src num-buffers=1 ! jpegenc ! filesink location=capture1.jpeg + * gst-launch-1.0 v4l2src num-buffers=1 ! jpegenc ! filesink location=capture1.jpeg * ]| Capture one frame from a v4l2 camera and save as jpeg image. * */ diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index bfc67e3..f99245a 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -28,8 +28,8 @@ * * Example launch line * |[ - * gst-launch filesrc location=song.ogg ! decodebin ! autoaudiosink - * ]| Play a song.ogg from local dir. + * gst-launch-1.0 filesrc location=song.ogg ! decodebin ! audioconvert ! audioresample ! autoaudiosink + * ]| Play song.ogg audio file which must be in the current working directory. * */ diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index b6ca6a5..4575a88 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -37,9 +37,10 @@ * * Example launch line * |[ - * 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. + * gst-launch-1.0 filesrc location=song.ogg ! decodebin ! tee name=t ! queue ! audioconvert ! audioresample ! autoaudiosink t. ! queue ! audioconvert ! goom ! videoconvert ! autovideosink + * ]| Play song.ogg audio file which must be in the current working directory + * and render visualisations using the goom element (this can be easier done + * using the playbin element, this is just an example pipeline). * */