commit 61ff92e11ea876532697451b1ed727f42274b109
parent 1397a790ffe17472a818c99d85a049253b91116c
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue, 29 Jan 2019 01:59:56 +0700

[postprocessor/ffmpeg] Wrap loglevel args in encodeArgument

Diffstat:
Myoutube_dl/postprocessor/ffmpeg.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)])