diff --git a/transcode.sh b/transcode.sh index d0b3f3d..f45b343 100644 --- a/transcode.sh +++ b/transcode.sh @@ -182,7 +182,7 @@ do currFrames=$( ffprobe -loglevel error -select_streams s:$SUBTITLEINDEX \ -show_entries stream_tags=NUMBER_OF_FRAMES-eng -of csv=p=0 \ "$tmpDIR/$fileNAME") - if [ ! $( echo "($currFrames / $maxFrames) < 0.50"|bc -l ) ] + if [ $( echo "($currFrames / $maxFrames) < 0.50"|bc -l ) ] then echo "BURNING STREAM $SUBTITLEINDEX (STREAM $minINDEX) from $fileNAME" burnSubs "$tmpDIR/$fileNAME" "$tmpDIR/TMP$fileNAME" "$workDIR/$fileNAME" $SUBTITLEINDEX