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

View file

@ -514,11 +514,6 @@ def check_deprecated(param, option, suggestion):
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: