mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 12:45:51 +01:00
parent
7d3b98be4c
commit
4d37d4a77c
@ -156,7 +156,7 @@ def get_format_info(tbr):
|
|||||||
br = int_or_none(tbr)
|
br = int_or_none(tbr)
|
||||||
if len(fmts) == 1 and not br:
|
if len(fmts) == 1 and not br:
|
||||||
br = fmts[0].get('tbr')
|
br = fmts[0].get('tbr')
|
||||||
if br or 0 > 300:
|
if br and br > 300:
|
||||||
tbr = compat_str(math.floor(br / 100) * 100)
|
tbr = compat_str(math.floor(br / 100) * 100)
|
||||||
else:
|
else:
|
||||||
tbr = '250'
|
tbr = '250'
|
||||||
|
Loading…
Reference in New Issue
Block a user