Browse Source

[downloader/external] skip FFmpegFD when requesting multiple formats

master
remitamine 8 years ago
parent
commit
634415ca17
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/downloader/external.py

2
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):

Loading…
Cancel
Save