[VideoConvertor] Ensure all streams are copied

Closes #3200
This commit is contained in:
pukkandan 2022-03-27 09:27:38 +05:30
parent 5cf34021f5
commit 4a3175fc4c
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -553,9 +553,9 @@ class FFmpegVideoConvertorPP(FFmpegPostProcessor):
@staticmethod @staticmethod
def _options(target_ext): def _options(target_ext):
yield from FFmpegPostProcessor.stream_copy_opts(False)
if target_ext == 'avi': if target_ext == 'avi':
return ['-c:v', 'libxvid', '-vtag', 'XVID'] yield from ('-c:v', 'libxvid', '-vtag', 'XVID')
return []
@PostProcessor._restrict_to(images=False) @PostProcessor._restrict_to(images=False)
def run(self, info): def run(self, info):