mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[YoutubeDL] Fix video+audio format field (Closes #4880)
This commit is contained in:
parent
f13b88c616
commit
300753a069
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue