summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index b0e3167ae6..4b71d3a999 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -285,7 +285,7 @@ static void print_stream(struct MPContext *mpctx, struct track *t)
}
APPEND(b, ")");
if (s->hls_bitrate > 0)
- APPEND(b, " (%d KB/s)", s->hls_bitrate / 8 / 1024);
+ APPEND(b, " (%d kbps)", (s->hls_bitrate + 500) / 1000);
if (t->is_external)
APPEND(b, " (external)");
MP_INFO(mpctx, "%s\n", b);