0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-10 00:25:06 +00:00

[YoutubeDL] don't default to 'bestvideo+bestaudio/best' for live videos

Doesn't work currently.
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-07-20 20:25:53 +02:00
parent 2fe1ff8582
commit 8250c32f49

View file

@ -1104,7 +1104,8 @@ def process_video_result(self, info_dict, download=True):
if req_format is None:
req_format_list = []
if (self.params.get('outtmpl', DEFAULT_OUTTMPL) != '-' and
info_dict['extractor'] in ['youtube', 'ted']):
info_dict['extractor'] in ['youtube', 'ted'] and
not info_dict.get('is_live')):
merger = FFmpegMergerPP(self)
if merger.available and merger.can_merge():
req_format_list.append('bestvideo+bestaudio')