summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalvideowebencode6
1 files changed, 3 insertions, 3 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 2d30e7d..f8024cb 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -469,13 +469,13 @@ encoder_vp8=libvpx
encoder_vp9=libvpx-vp9
encoder_h264=libx264
for vformat in vp8 vp9 h264; do
- # melt supports dual-pass or Constant Quality modes only for h.264
- [ h264 = "$vformat" ] || [ -n "$vpxenc" ] || eval "[ -z \"$multipass\$q_$vformat\" ] || use_ffmpeg_$vformat=yes"
-
eval "[ -n \"\$bitrate_$vformat\" ] || no_bitrate_$vformat=yes"
eval "[ -z \"\$no_q$no_q_$vformat\" ] || q_$vformat="
eval "[ -z \"\$q\" ] || q_$vformat=$q"
eval "[ -n \"\$q_$vformat\" ] || no_q_$vformat=yes"
+
+ # melt supports dual-pass or Constant Quality modes only for h.264
+ [ h264 = "$vformat" ] || [ -n "$vpxenc" ] || eval "[ -z \"$multipass\$q_$vformat\" ] || use_ffmpeg_$vformat=yes"
done
if [ -n "$use_ffmpeg_vp8$use_ffmpeg_vp9$use_vpxenc" ]; then
[ -n "$use_oggenc" ] || use_ffmpeg_ogg=yes