mirror of https://github.com/yt-dlp/yt-dlp.git
parent
7d3b98be4c
commit
4d37d4a77c
|
@ -156,7 +156,7 @@ class RaiBaseIE(InfoExtractor):
|
||||||
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