[gnome-video-effects] Port create_effects_preview.sh to GStreamer 1.0



commit 99c25448853f0f165b31bc9337327db2d4a95db1
Author: Tim-Philipp MÃller <tim centricular net>
Date:   Thu Aug 2 19:49:09 2012 +0100

    Port create_effects_preview.sh to GStreamer 1.0
    
    Fixes bug 681090.

 tools/create_effect_previews.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/create_effect_previews.sh b/tools/create_effect_previews.sh
index 327925f..c55df2e 100644
--- a/tools/create_effect_previews.sh
+++ b/tools/create_effect_previews.sh
@@ -25,9 +25,9 @@ for i in $(ls $effectsdir/*.$suffix); do
   if [ ! -e "$previewdir/$name.jpg" ]; then
     if [[ ! "$ignore_effects" =~ "${name}" ]]; then
       echo -e "\n\nCreating preview for $name"
-      gst-launch filesrc location=$previewdir/normal.jpg ! jpegdec ! ffmpegcolorspace ! \
+      gst-launch-1.0 filesrc location=$previewdir/normal.jpg ! decodebin ! videoconvert ! \
       $(grep PipelineDescription "$i" | sed "s/^PipelineDescription=//") ! \
-      ffmpegcolorspace ! jpegenc !  filesink location="$previewdir/$name.jpg"
+      videoconvert ! jpegenc !  filesink location="$previewdir/$name.jpg"
     fi
   fi
 done



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]