mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 19:36:45 +00:00
[downloader/ffmpeg] Hide FFmpeg banner unless in verbose mode (#372)
Authored by: fstirlitz
This commit is contained in:
parent
e2efe599aa
commit
2ec1759f9d
|
@ -359,6 +359,8 @@ def _call_downloader(self, tmpfilename, info_dict):
|
||||||
if self.params.get(log_level, False):
|
if self.params.get(log_level, False):
|
||||||
args += ['-loglevel', log_level]
|
args += ['-loglevel', log_level]
|
||||||
break
|
break
|
||||||
|
if not self.params.get('verbose'):
|
||||||
|
args += ['-hide_banner']
|
||||||
|
|
||||||
seekable = info_dict.get('_seekable')
|
seekable = info_dict.get('_seekable')
|
||||||
if seekable is not None:
|
if seekable is not None:
|
||||||
|
|
Loading…
Reference in a new issue