1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-27 01:56:52 +00:00

[YoutubeDL] Set format_id for video+audio (Closes #3634)

This commit is contained in:
Sergey M․ 2015-01-29 00:44:40 +06:00
parent 63be3b8989
commit dcf53d4408

View file

@ -1074,6 +1074,7 @@ class YoutubeDL(object):
selected_format = {
'requested_formats': formats_info,
'format': rf,
'format_id': rf,
'ext': formats_info[0]['ext'],
'width': formats_info[0].get('width'),
'height': formats_info[0].get('height'),