]> code.delx.au - transcoding/commitdiff
hencode: fix PAL24FPS properly
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 28 Feb 2016 12:39:57 +0000 (23:39 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 28 Feb 2016 12:39:57 +0000 (23:39 +1100)
hencode

diff --git a/hencode b/hencode
index efe68aa748e8aea24f0ba22d544cccbb11fe4610..35dfb5e6112a5dccc1838dff6290ae2e1a1098a0 100755 (executable)
--- a/hencode
+++ b/hencode
@@ -36,7 +36,7 @@ HandBrakeCLI \
     "$@"
 
 
-if [ -n "$PAL24FPS" ]; then
+if [ "$PAL24FPS" -eq 1 ]; then
     mv "$OUTPUTFILE" "pal25fps $OUTPUTFILE"
     "${THIS_DIR}/fix-pal-speedup" "pal25fps $OUTPUTFILE" "$OUTPUTFILE"
 fi