summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-05 04:06:35 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-05 04:06:35 +0100
commit3d80d7b8709da33c7b0cee8a98eff0a3fd772525 (patch)
tree0c986e65586ac2fdddab34abb19024bb49125ea4 /localvideowebencode
parent2b0ce0c71e7365efe032c135a1f83f3535e269b5 (diff)
fix resolve quality rate factor
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