1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-04 00:55:15 +00:00

[downloader/ffmpeg] Improve simultaneous download and merge

This commit is contained in:
pukkandan
2021-10-12 16:50:04 +05:30
parent 975a0d0df9
commit c111cefa5d
4 changed files with 18 additions and 12 deletions

View File

@ -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