From: remitamine Date: Sun, 13 Mar 2016 11:23:10 +0000 (+0100) Subject: [downloader/external] skip FFmpegFD when requesting multiple formats X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=634415ca1791b22ddb8a272266084d8b22199d09;p=youtube-dl [downloader/external] skip FFmpegFD when requesting multiple formats --- diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index fcb956e6c..4e299b4ee 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -162,7 +162,7 @@ class HttpieFD(ExternalFD): class FFmpegFD(ExternalFD): @classmethod def supports(cls, info_dict): - return info_dict['protocol'] in ('http', 'https', 'ftp', 'ftps', 'm3u8', 'rtsp', 'rtmp', 'mms') + return info_dict['protocol'] in ('http', 'https', 'ftp', 'ftps', 'm3u8', 'rtsp', 'rtmp', 'mms') and not info_dict.get('requested_formats') @classmethod def available(cls):