diff options
author | wm4 <wm4@nowhere> | 2020-02-20 12:13:32 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-20 12:13:32 +0100 |
commit | 4e11ac82aa9116bbf02dffc0b639d5b5f0f0ef35 (patch) | |
tree | 60852e115d8e05bdf51f7c71d04bd2e670693dae | |
parent | 3db8715f70bb5406ae00fb97c30d7dbc6c733a31 (diff) | |
download | mpv-4e11ac82aa9116bbf02dffc0b639d5b5f0f0ef35.tar.bz2 mpv-4e11ac82aa9116bbf02dffc0b639d5b5f0f0ef35.tar.xz |
player: change bitrate in track listing back to kilobits
Because the --hls-bitrate option takes the same unit.
-rw-r--r-- | player/loadfile.c | 2 |
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); |