From 67214039a601f348481677d822e5f06cd6c582bb Mon Sep 17 00:00:00 2001 From: Jimi Date: Tue, 6 Sep 2022 15:21:30 -0600 Subject: [PATCH] Update source/VideoPlayer.brs Co-authored-by: alanazar <93149610+alanazar@users.noreply.github.com> --- source/VideoPlayer.brs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/VideoPlayer.brs b/source/VideoPlayer.brs index c48d91bb..b07f0cda 100644 --- a/source/VideoPlayer.brs +++ b/source/VideoPlayer.brs @@ -525,8 +525,8 @@ end function function getDisplayBitrate(bitrate) if bitrate > 1000000 - return Str(bitrate / 1000000) + " Mbps" + return Str(round(bitrate / 1000000),2) + " Mbps" else - return Str(bitrate / 1000) + " kbps" + return Str(round(bitrate / 1000)) + " Kbps" end if end function