projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b67d631
)
[YoutubeDL] Fix format resolution when height is missing
author
Sergey M․
<dstftw@gmail.com>
Thu, 11 Feb 2016 16:46:13 +0000
(22:46 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 11 Feb 2016 16:46:13 +0000
(22:46 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 3cabfbc03257691f5c27a0cc05cd8376086ba7b9..e5b75f0f5c73d8e99ea17ae61fc9a0b8102d63a5 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-1798,7
+1798,7
@@
class YoutubeDL(object):
else:
res = '%sp' % format['height']
elif format.get('width') is not None:
- res = '
?x%d
' % format['width']
+ res = '
%dx?
' % format['width']
else:
res = default
return res