Browse Source

[YoutubeDL] Fix video+audio format_id (Closes #4824)

totalwebcasting
Sergey M․ 10 years ago
parent
commit
6d593c3276
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/YoutubeDL.py

+ 2
- 1
youtube_dl/YoutubeDL.py View File

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


Loading…
Cancel
Save