mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-12 14:26:49 +01:00
[downloader/external] skip FFmpegFD when requesting multiple formats
This commit is contained in:
parent
a755f82549
commit
634415ca17
@ -162,7 +162,7 @@ def _make_cmd(self, tmpfilename, info_dict):
|
||||
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…
Reference in New Issue
Block a user