From: Antonio Ospite <ao2@ao2.it>
Date: Tue, 7 Jun 2016 08:57:35 +0000 (+0200)
Subject: ges-cut-clip.sh: use the new syntax for the clip operation from GES 1.8
X-Git-Url: https://git.ao2.it/experiments/gstreamer.git/commitdiff_plain/a4e32eae3357b63841c89505b4c075e5fcbb8081?ds=inline;hp=ca4485046996fe94e8f185ccf1f2682b25739b26

ges-cut-clip.sh: use the new syntax for the clip operation from GES 1.8
---

diff --git a/shell/ges-cut-clip.sh b/shell/ges-cut-clip.sh
index c762ec0..544ef06 100755
--- a/shell/ges-cut-clip.sh
+++ b/shell/ges-cut-clip.sh
@@ -19,4 +19,4 @@ DURATION=$((${DURATION_HH#0} * 60 * 60 + ${DURATION_MM#0} * 60 + ${DURATION_SS#0
 [ -e "$4" ] && { echo "Output file already exists, bailing out!" 1>&2; exit 1; }
 OUTPUT_FILE="$4"
 
-ges-launch-1.0 -s "$INPUT_FILE" $INPOINT $DURATION -o "$OUTPUT_FILE"
+ges-launch-1.0 +clip "$INPUT_FILE" inpoint=$INPOINT duration=$DURATION -o "$OUTPUT_FILE"