Update source/VideoPlayer.brs

Co-authored-by: alanazar <93149610+alanazar@users.noreply.github.com>
This commit is contained in:
Jimi 2022-09-06 15:21:30 -06:00 committed by GitHub
parent f6c132a3f5
commit 67214039a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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