diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-12 16:50:04 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-13 04:14:11 +0530 |
commit | c111cefa5de2337fc677367ee2d727b8a56e3fd0 (patch) | |
tree | f61af2abd16266103820b98655d47cb87cf2461a /yt_dlp/downloader/external.py | |
parent | 975a0d0df98a68d936c86a77175f2b0e86b576f5 (diff) | |
download | hypervideo-pre-c111cefa5de2337fc677367ee2d727b8a56e3fd0.tar.lz hypervideo-pre-c111cefa5de2337fc677367ee2d727b8a56e3fd0.tar.xz hypervideo-pre-c111cefa5de2337fc677367ee2d727b8a56e3fd0.zip |
[downloader/ffmpeg] Improve simultaneous download and merge
Diffstat (limited to 'yt_dlp/downloader/external.py')
-rw-r--r-- | yt_dlp/downloader/external.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py index 9c1229cf6..3c0202f22 100644 --- a/yt_dlp/downloader/external.py +++ b/yt_dlp/downloader/external.py @@ -327,6 +327,10 @@ class FFmpegFD(ExternalFD): # Fixme: This may be wrong when --ffmpeg-location is used return FFmpegPostProcessor().available + @classmethod + def supports(cls, info_dict): + return all(proto in cls.SUPPORTED_PROTOCOLS for proto in info_dict['protocol'].split('+')) + def on_process_started(self, proc, stdin): """ Override this in subclasses """ pass |