diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-02-08 19:13:45 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-02-08 19:13:45 +0100 |
commit | 53724c7a67c356d12fb1415306173aeabff95a34 (patch) | |
tree | 7ad5de631a3ce28ddfb87ff5d4397cfbc3064dbd | |
parent | 8aae838570f9aa6f5a40fb967046e7fff0e11161 (diff) |
tidy: check $use_ffmpeg_avc only once
-rwxr-xr-x | localvideowebencode | 4 |
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 \ |