summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-09-22 13:35:41 +0200
committerJonas Smedegaard <dr@jones.dk>2014-09-22 13:35:41 +0200
commit5879e9f268b28fe22b8bb35467042e44f6cad0ed (patch)
treef122e54a51f44b45d07ba73ff54c767db2a2b81f
parent27ee049a6b53a09415554700ad84c154de70b6e9 (diff)
Tidy melt_recent variable to more clearly be a flag.
-rwxr-xr-xlocalvideowebencode2
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 39b32f3..5c0805c 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -162,7 +162,7 @@ done
# Resolve if melt is version 0.9.2 or newer
# TODO: drop when melt 0.9.2 is stable
-melt_recent=$(melt -query filter=loudness | grep -i R128)
+melt_recent=$(melt -query filter=loudness | grep -qi R128 && echo yes)
while [ $# -gt 0 ] ; do
case "$1" in