aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-01-29 01:59:56 +0700
committerSergey M․ <dstftw@gmail.com>2019-01-29 01:59:56 +0700
commit61ff92e11ea876532697451b1ed727f42274b109 (patch)
treed163a9b087f6f8d4b900657014835313836276c8 /youtube_dl
parent1397a790ffe17472a818c99d85a049253b91116c (diff)
[postprocessor/ffmpeg] Wrap loglevel args in encodeArgument
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/postprocessor/ffmpeg.py2
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)])