diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-01-29 01:59:56 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-01-29 01:59:56 +0700 |
commit | 61ff92e11ea876532697451b1ed727f42274b109 (patch) | |
tree | d163a9b087f6f8d4b900657014835313836276c8 | |
parent | 1397a790ffe17472a818c99d85a049253b91116c (diff) |
[postprocessor/ffmpeg] Wrap loglevel args in encodeArgument
-rw-r--r-- | youtube_dl/postprocessor/ffmpeg.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)]) |