mirror of https://github.com/mpv-player/mpv
player: change bitrate in track listing back to kilobits
Because the --hls-bitrate option takes the same unit.
This commit is contained in:
parent
3db8715f70
commit
4e11ac82aa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue