Browse Source

[postprocessor/ffmpeg] Wrap loglevel args in encodeArgument

master-ytdl-org
Sergey M․ 6 years ago
parent
commit
61ff92e11e
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/postprocessor/ffmpeg.py

+ 1
- 1
youtube_dl/postprocessor/ffmpeg.py View File

@ -218,7 +218,7 @@ class FFmpegPostProcessor(PostProcessor):
encodeFilename(self._ffmpeg_filename_argument(path), True) encodeFilename(self._ffmpeg_filename_argument(path), True)
]) ])
cmd = ([encodeFilename(self.executable, True), encodeArgument('-y')] + cmd = ([encodeFilename(self.executable, True), encodeArgument('-y')] +
['-loglevel', 'repeat+info'] +
[encodeArgument('-loglevel'), encodeArgument('repeat+info')] +
files_cmd + files_cmd +
[encodeArgument(o) for o in opts] + [encodeArgument(o) for o in opts] +
[encodeFilename(self._ffmpeg_filename_argument(out_path), True)]) [encodeFilename(self._ffmpeg_filename_argument(out_path), True)])


Loading…
Cancel
Save