1
0
Fork 0

[downloader/ffmpeg] Improve simultaneous download and merge

This commit is contained in:
pukkandan 2021-10-12 16:50:04 +05:30
commit c111cefa5d
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698
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