1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

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', []):
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:
self.params.pop('overwrites', None)
elif self.params.get('nooverwrites') is not None: