[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']) else self.params['merge_output_format'])
selected_format = { selected_format = {
'requested_formats': formats_info, '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'), 'format_id': '%s+%s' % (formats_info[0].get('format_id'),
formats_info[1].get('format_id')), formats_info[1].get('format_id')),
'width': formats_info[0].get('width'), 'width': formats_info[0].get('width'),