mirror of https://github.com/yt-dlp/yt-dlp.git
Don't try to merge with final extension
The formats may not be directly mergable into the final extension
This commit is contained in:
parent
5ad28e7ffd
commit
da33e35b05
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue