aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/external.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-03-13 12:23:10 +0100
committerremitamine <remitamine@gmail.com>2016-03-13 12:23:10 +0100
commit634415ca1791b22ddb8a272266084d8b22199d09 (patch)
tree74d0b5fba59d0ace78f56007f230fd531844be4b /youtube_dl/downloader/external.py
parenta755f82549cb6bffd8ff9545e0b0a4883b7422d2 (diff)
[downloader/external] skip FFmpegFD when requesting multiple formats
Diffstat (limited to 'youtube_dl/downloader/external.py')
-rw-r--r--youtube_dl/downloader/external.py2
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):