mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[YoutubeDL] Fix format resolution when height is missing
This commit is contained in:
parent
b67d63149d
commit
388ae76b52
1 changed files with 1 additions and 1 deletions
|
@ -1798,7 +1798,7 @@ def format_resolution(format, default='unknown'):
|
|||
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…
Reference in a new issue