From: paul Date: Fri, 24 Apr 2015 15:23:13 +0000 (+0000) Subject: decision bug X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=7090517b28c8814ca9338b5289c213f3ba07b50b;p=serve0 decision bug svn path=/trunk/; revision=44 --- diff --git a/actions/transcode.sh b/actions/transcode.sh index a61c2bb..fa1de34 100644 --- a/actions/transcode.sh +++ b/actions/transcode.sh @@ -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