From: Sergey M․ Date: Mon, 28 Jan 2019 18:59:56 +0000 (+0700) Subject: [postprocessor/ffmpeg] Wrap loglevel args in encodeArgument X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=61ff92e11ea876532697451b1ed727f42274b109;p=youtube-dl [postprocessor/ffmpeg] Wrap loglevel args in encodeArgument --- diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py index 33dbcad9f..88b9ae9be 100644 --- a/youtube_dl/postprocessor/ffmpeg.py +++ b/youtube_dl/postprocessor/ffmpeg.py @@ -218,7 +218,7 @@ class FFmpegPostProcessor(PostProcessor): encodeFilename(self._ffmpeg_filename_argument(path), True) ]) cmd = ([encodeFilename(self.executable, True), encodeArgument('-y')] + - ['-loglevel', 'repeat+info'] + + [encodeArgument('-loglevel'), encodeArgument('repeat+info')] + files_cmd + [encodeArgument(o) for o in opts] + [encodeFilename(self._ffmpeg_filename_argument(out_path), True)])