mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-22 10:37:50 +08:00
Use the option in preparing the merge output filename
This commit is contained in:
parent
34c781a24d
commit
d02115f837
@ -912,7 +912,7 @@ class YoutubeDL(object):
|
|||||||
selected_format = {
|
selected_format = {
|
||||||
'requested_formats': formats_info,
|
'requested_formats': formats_info,
|
||||||
'format': rf,
|
'format': rf,
|
||||||
'ext': formats_info[0]['ext'],
|
'ext': self.params['merge_output_format'] if self.params['merge_output_format'] is not None else formats_info[0]['ext'],
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
selected_format = None
|
selected_format = None
|
||||||
|
Loading…
Reference in New Issue
Block a user