summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-08 19:13:45 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-08 19:13:45 +0100
commit53724c7a67c356d12fb1415306173aeabff95a34 (patch)
tree7ad5de631a3ce28ddfb87ff5d4397cfbc3064dbd /localvideowebencode
parent8aae838570f9aa6f5a40fb967046e7fff0e11161 (diff)
tidy: check $use_ffmpeg_avc only once
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode4
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 0b43652..eb0fd7c 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -736,8 +736,8 @@ if [ -n "${webm:+$multipass_vp8}${webm_vp9:+$multipass_vp9}${mp4:+$multipass_avc
-pass 1 -passlogfile ${stem}_vp8 /dev/null}} \
${webm_vp9:+${use_ffmpeg_vp9:+$_ffmpeg_rawvideo $_ffmpeg_vp9 -an \
-pass 1 -passlogfile ${stem}_vp9 /dev/null}} \
- ${mp4:+${use_ffmpeg_avc:+${use_ffmpeg_avc:+$_ffmpeg_rawvideo $_ffmpeg_avc -an \
- -pass 1 -passlogfile ${stem}_avc /dev/null}}}
+ ${mp4:+${use_ffmpeg_avc:+$_ffmpeg_rawvideo $_ffmpeg_avc -an \
+ -pass 1 -passlogfile ${stem}_avc /dev/null}}
else
echo >&2 "Analyzing video complexity, at once..."
$melt $_melt_infiles $filters \