Update source/VideoPlayer.brs
Co-authored-by: alanazar <93149610+alanazar@users.noreply.github.com>
This commit is contained in:
parent
f6c132a3f5
commit
67214039a6
|
@ -525,8 +525,8 @@ end function
|
||||||
|
|
||||||
function getDisplayBitrate(bitrate)
|
function getDisplayBitrate(bitrate)
|
||||||
if bitrate > 1000000
|
if bitrate > 1000000
|
||||||
return Str(bitrate / 1000000) + " Mbps"
|
return Str(round(bitrate / 1000000),2) + " Mbps"
|
||||||
else
|
else
|
||||||
return Str(bitrate / 1000) + " kbps"
|
return Str(round(bitrate / 1000)) + " Kbps"
|
||||||
end if
|
end if
|
||||||
end function
|
end function
|
||||||
|
|
Loading…
Reference in New Issue
Block a user