1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-09-05 18:39:37 +02:00

[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):