diff options
author | remitamine <remitamine@gmail.com> | 2016-03-13 12:23:10 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-03-13 12:23:10 +0100 |
commit | 634415ca1791b22ddb8a272266084d8b22199d09 (patch) | |
tree | 74d0b5fba59d0ace78f56007f230fd531844be4b /youtube_dl/downloader | |
parent | a755f82549cb6bffd8ff9545e0b0a4883b7422d2 (diff) |
[downloader/external] skip FFmpegFD when requesting multiple formats
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r-- | youtube_dl/downloader/external.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |