1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-01 09:59:28 +00:00

Use the option in preparing the merge output filename

This commit is contained in:
Andrei Troie 2015-01-10 00:29:06 +00:00
parent 34c781a24d
commit d02115f837

View file

@ -912,7 +912,7 @@ class YoutubeDL(object):
selected_format = {
'requested_formats': formats_info,
'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:
selected_format = None