0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[postprocessor/ffmpeg] Wrap loglevel args in encodeArgument

This commit is contained in:
Sergey M․ 2019-01-29 01:59:56 +07:00
parent 1397a790ff
commit 61ff92e11e
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -218,7 +218,7 @@ def run_ffmpeg_multiple_files(self, input_paths, out_path, opts):
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)])