]> git.plutz.net Git - serve0/commitdiff
decision bug
authorpaul <paul@plutz.net>
Fri, 24 Apr 2015 15:23:13 +0000 (15:23 +0000)
committerpaul <paul@plutz.net>
Fri, 24 Apr 2015 15:23:13 +0000 (15:23 +0000)
svn path=/trunk/; revision=44

actions/transcode.sh

index a61c2bb7345b67012df6e5f2cbdd5fff127e8dbf..fa1de34dc0150a205663152abe96263e808af5fa 100644 (file)
@@ -10,7 +10,7 @@ head -n1 "$meta" |read length width height name
 
 twidth=$(($width * $target / $height))
 
-[ -f "$target" ] || nohup avconv -i "$video" -s "${twidth}x${target}" -threads auto "$trans" &
+[ -f "$trans" ] || nohup avconv -i "$video" -s "${twidth}x${target}" -threads auto "$trans" &
 
 echo "Location: /transcoded/${info}.${target}p.webm"
 echo