From 8eb4b1bb8ee1d04112a031f3f28bfd545cab0e8e Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 25 Dec 2021 08:42:08 +0530 Subject: [PATCH] [ffmpeg] Fix position of `--ppa` Bug in ca5db158aecc36a3db41faa85a26e7d931b5d72b Closes #2112 --- yt_dlp/postprocessor/ffmpeg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 594762974..222560a7c 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -296,8 +296,8 @@ class FFmpegPostProcessor(PostProcessor): keys = ['_%s%d' % (name, number), '_%s' % name] if name == 'o': args += ['-movflags', '+faststart'] - elif number == 1: - keys.append('') + if number == 1: + keys.append('') args += self._configuration_args(self.basename, keys) if name == 'i': args.append('-i')