From 0061913f08589a3dc9580cca46effae07fac0ba6 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Mon, 14 Dec 2015 11:09:46 +0900 Subject: [PATCH] plugins-bad: Fix example pipelines rename gst-launch --> gst-launch-1.0 replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**) fix caps in examples https://bugzilla.gnome.org/show_bug.cgi?id=759432 --- ext/gl/gstglbumper.c | 2 +- ext/gl/gstgldeinterlace.c | 2 +- ext/gl/gstgldifferencematte.c | 2 +- ext/gl/gstgleffects.c | 2 +- ext/gl/gstglfilterreflectedscreen.c | 2 +- ext/gl/gstglfiltershader.c | 2 +- ext/gl/gstglstereosplit.c | 2 +- ext/gl/gstgltestsrc.c | 2 +- ext/gl/gstgltransformation.c | 8 ++++---- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ext/gl/gstglbumper.c b/ext/gl/gstglbumper.c index 5820fac369..9fdb4a0798 100644 --- a/ext/gl/gstglbumper.c +++ b/ext/gl/gstglbumper.c @@ -27,7 +27,7 @@ * * Examples * |[ - * gst-launch -v videotestsrc ! glupload ! glbumper location=normalmap.bmp ! glimagesink + * gst-launch-1.0 -v videotestsrc ! glupload ! glbumper location=normalmap.bmp ! glimagesink * ]| A pipeline to test normal mapping. * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * diff --git a/ext/gl/gstgldeinterlace.c b/ext/gl/gstgldeinterlace.c index 2d48749c5d..bd0eff05da 100644 --- a/ext/gl/gstgldeinterlace.c +++ b/ext/gl/gstgldeinterlace.c @@ -26,7 +26,7 @@ * * Examples * |[ - * gst-launch videotestsrc ! glupload ! gldeinterlace ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! gldeinterlace ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * diff --git a/ext/gl/gstgldifferencematte.c b/ext/gl/gstgldifferencematte.c index 8ffcf9b931..6304c6dff4 100644 --- a/ext/gl/gstgldifferencematte.c +++ b/ext/gl/gstgldifferencematte.c @@ -26,7 +26,7 @@ * * Examples * |[ - * gst-launch videotestsrc ! glupload ! gldifferencemate location=backgroundimagefile ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! gldifferencemate location=backgroundimagefile ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * diff --git a/ext/gl/gstgleffects.c b/ext/gl/gstgleffects.c index cf4de6e8fb..5c906fc7c8 100644 --- a/ext/gl/gstgleffects.c +++ b/ext/gl/gstgleffects.c @@ -26,7 +26,7 @@ * * Examples * |[ - * gst-launch videotestsrc ! glupload ! gleffects effect=5 ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! gleffects effect=5 ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * diff --git a/ext/gl/gstglfilterreflectedscreen.c b/ext/gl/gstglfilterreflectedscreen.c index bacb8f3af1..fb15338906 100644 --- a/ext/gl/gstglfilterreflectedscreen.c +++ b/ext/gl/gstglfilterreflectedscreen.c @@ -26,7 +26,7 @@ * * Examples * |[ - * gst-launch videotestsrc ! glupload ! glfilterreflectedscreen ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! glfilterreflectedscreen ! glimagesink * ]| * */ diff --git a/ext/gl/gstglfiltershader.c b/ext/gl/gstglfiltershader.c index 510dcc44a6..12a8a9a930 100644 --- a/ext/gl/gstglfiltershader.c +++ b/ext/gl/gstglfiltershader.c @@ -27,7 +27,7 @@ * * Examples * |[ - * gst-launch videotestsrc ! glupload ! glshader location=myshader.fs ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! glshader location=myshader.fs ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * diff --git a/ext/gl/gstglstereosplit.c b/ext/gl/gstglstereosplit.c index 798810725b..456d9f032a 100644 --- a/ext/gl/gstglstereosplit.c +++ b/ext/gl/gstglstereosplit.c @@ -26,7 +26,7 @@ * * Examples * |[ - * gst-launch videotestsrc ! glstereosplit name=s ! queue ! glimagesink s. ! queue ! glimagesink + * gst-launch-1.0 videotestsrc ! glstereosplit name=s ! queue ! glimagesink s. ! queue ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * diff --git a/ext/gl/gstgltestsrc.c b/ext/gl/gstgltestsrc.c index 9916c65de1..bcf8fb962e 100644 --- a/ext/gl/gstgltestsrc.c +++ b/ext/gl/gstgltestsrc.c @@ -33,7 +33,7 @@ * Example launch line * * - * gst-launch -v gltestsrc pattern=smpte ! glimagesink + * gst-launch-1.0 -v gltestsrc pattern=smpte ! glimagesink * * Shows original SMPTE color bars in a window. * diff --git a/ext/gl/gstgltransformation.c b/ext/gl/gstgltransformation.c index 5a82ade5f9..7d1472f9f3 100644 --- a/ext/gl/gstgltransformation.c +++ b/ext/gl/gstgltransformation.c @@ -26,16 +26,16 @@ * * Examples * |[ - * gst-launch gltestsrc ! gltransformation rotation-z=45 ! glimagesink + * gst-launch-1.0 gltestsrc ! gltransformation rotation-z=45 ! glimagesink * ]| A pipeline to rotate by 45 degrees * |[ - * gst-launch gltestsrc ! gltransformation translation-x=0.5 ! glimagesink + * gst-launch-1.0 gltestsrc ! gltransformation translation-x=0.5 ! glimagesink * ]| Translate the video by 0.5 * |[ - * gst-launch gltestsrc ! gltransformation scale-y=0.5 scale-x=0.5 ! glimagesink + * gst-launch-1.0 gltestsrc ! gltransformation scale-y=0.5 scale-x=0.5 ! glimagesink * ]| Resize the video by 0.5 * |[ - * gst-launch gltestsrc ! gltransformation rotation-x=-45 ortho=True ! glimagesink + * gst-launch-1.0 gltestsrc ! gltransformation rotation-x=-45 ortho=True ! glimagesink * ]| Rotate the video around the X-Axis by -45° with an orthographic projection * */