[downloader/ffmpeg] Improve simultaneous download and merge
This commit is contained in:
parent
975a0d0df9
commit
c111cefa5d
4 changed files with 18 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue