[downloader/external] skip FFmpegFD when requesting multiple formats

pull/8/head
remitamine 9 years ago
parent a755f82549
commit 634415ca17

@ -162,7 +162,7 @@ class HttpieFD(ExternalFD):
class FFmpegFD(ExternalFD): class FFmpegFD(ExternalFD):
@classmethod @classmethod
def supports(cls, info_dict): 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 @classmethod
def available(cls): def available(cls):

Loading…
Cancel
Save