projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[YoutubeDL] Fix format resolution when height is missing
[youtube-dl]
/
youtube_dl
/
YoutubeDL.py
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