Browse Source

[YoutubeDL] Fix format resolution when height is missing

totalwebcasting
Sergey M․ 9 years ago
parent
commit
388ae76b52
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/YoutubeDL.py

+ 1
- 1
youtube_dl/YoutubeDL.py View File

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