1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

[YoutubeDL] Fix video+audio format field (Closes #4880)

This commit is contained in:
Sergey M․ 2015-02-06 00:51:16 +06:00
parent f13b88c616
commit 300753a069

View File

@ -1076,7 +1076,8 @@ class YoutubeDL(object):
else self.params['merge_output_format'])
selected_format = {
'requested_formats': formats_info,
'format': rf,
'format': '%s+%s' % (formats_info[0].get('format'),
formats_info[1].get('format')),
'format_id': '%s+%s' % (formats_info[0].get('format_id'),
formats_info[1].get('format_id')),
'width': formats_info[0].get('width'),