[YoutubeDL] Fix format resolution when height is missing

pull/8/head
Sergey M․ 9 years ago
parent b67d63149d
commit 388ae76b52

@ -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

Loading…
Cancel
Save