[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 @@ def _target_ext(self, source_ext):
@staticmethod
def _options(target_ext):
yield from FFmpegPostProcessor.stream_copy_opts(False)
if target_ext == 'avi':
return ['-c:v', 'libxvid', '-vtag', 'XVID']
return []
yield from ('-c:v', 'libxvid', '-vtag', 'XVID')
@PostProcessor._restrict_to(images=False)
def run(self, info):