Don't try to merge with final extension

The formats may not be directly mergable into the final extension
This commit is contained in:
pukkandan 2021-08-21 07:12:50 +05:30
parent 5ad28e7ffd
commit da33e35b05
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
1 changed files with 0 additions and 5 deletions

View File

@ -514,11 +514,6 @@ class YoutubeDL(object):
for msg in self.params.get('warnings', []): for msg in self.params.get('warnings', []):
self.report_warning(msg) self.report_warning(msg)
if self.params.get('final_ext'):
if self.params.get('merge_output_format'):
self.report_warning('--merge-output-format will be ignored since --remux-video or --recode-video is given')
self.params['merge_output_format'] = self.params['final_ext']
if self.params.get('overwrites') is None: if self.params.get('overwrites') is None:
self.params.pop('overwrites', None) self.params.pop('overwrites', None)
elif self.params.get('nooverwrites') is not None: elif self.params.get('nooverwrites') is not None: