1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-26 17:58:09 +00:00

[extractor/common] Allow float bitrates

This commit is contained in:
Sergey M․ 2015-10-01 21:51:04 +06:00
parent 2b3f951a2e
commit e7d8e98a9f

View file

@ -1084,7 +1084,7 @@ class InfoExtractor(object):
if not src:
continue
bitrate = int_or_none(video.get('system-bitrate') or video.get('systemBitrate'), 1000)
bitrate = float_or_none(video.get('system-bitrate') or video.get('systemBitrate'), 1000)
filesize = int_or_none(video.get('size') or video.get('fileSize'))
width = int_or_none(video.get('width'))
height = int_or_none(video.get('height'))