Browse Source

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

master
Sergey M․ 9 years ago
parent
commit
dcf53d4408
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/YoutubeDL.py

1
youtube_dl/YoutubeDL.py

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

Loading…
Cancel
Save