player: change bitrate in track listing back to kilobits

Because the --hls-bitrate option takes the same unit.
This commit is contained in:
wm4 2020-02-20 12:13:32 +01:00
parent 3db8715f70
commit 4e11ac82aa
1 changed files with 1 additions and 1 deletions

View File

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