summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode4
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 00278e3..e16967b 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -471,8 +471,8 @@ encoder_vp9=libvpx-vp9
encoder_h264=libx264
for vformat in vp8 vp9 h264; do
eval "[ -n \"\$bitrate_$vformat\" ] || no_bitrate_$vformat=yes"
- eval "[ -z \"\$no_q$no_q_$vformat\" ] || q_$vformat="
- eval "[ -z \"\$q\" ] || q_$vformat=$q"
+ eval "[ -z \"$no_q\$no_q_$vformat\" ] || q_$vformat="
+ [ -z "$q" ] || eval "q_$vformat=$q"
eval "[ -n \"\$q_$vformat\" ] || no_q_$vformat=yes"
# melt supports dual-pass or Constant Quality modes only for h.264