projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91755ee
)
[YoutubeDL] Fix video+audio format_id (Closes #4824)
author
Sergey M․
<dstftw@gmail.com>
Fri, 30 Jan 2015 21:50:11 +0000
(
03:50
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 30 Jan 2015 21:50:11 +0000
(
03:50
+0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index ce3abaee39938701e0ee5c5c22bc6eda2c092dda..e5a96cad52ab9fea84729f0657c6cf21e739b1bb 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-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'),