A feature-rich command-line audio/video downloader
[YoutubeDL] don't default to 'bestvideo+bestaudio/best' for live videos
Jaime Marquínez Ferrándiz8250c32f49fe
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.pyindex 00af78e060..702a6ad50b 100755--- a/youtube_dl/YoutubeDL.py+++ b/youtube_dl/YoutubeDL.py@@ -1104,7 +1104,8 @@ class YoutubeDL(object):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')