From ce1e670a33c9e119f37b7b49bbbb7531b12630bf Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Sep 2019 19:21:12 +0200 Subject: player: update status line cache display Replace the "+" with "/". The "+" was supposed to imply that the cache is the sum of the time (demuxer cache) and the size in bytes (stream cache). We could not provide something nicer, because we had no idea how many seconds of media was buffered in the stream cache. Now the stream cache is done, and both the duration and byte size show the amount buffered in the demuxer cache. Hopefully "/" is better to imply this properly. Update the manpage explanations too. --- player/osd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player/osd.c') diff --git a/player/osd.c b/player/osd.c index a12ccaa8b1..c2af83b08c 100644 --- a/player/osd.c +++ b/player/osd.c @@ -243,9 +243,9 @@ static char *get_term_status_msg(struct MPContext *mpctx) int64_t cache_size = s.fw_bytes; if (cache_size > 0) { if (cache_size >= 1024 * 1024) { - saddf(&line, "+%lldMB", (long long)(cache_size / 1024 / 1024)); + saddf(&line, "/%lldMB", (long long)(cache_size / 1024 / 1024)); } else { - saddf(&line, "+%lldKB", (long long)(cache_size / 1024)); + saddf(&line, "/%lldKB", (long long)(cache_size / 1024)); } } } -- cgit v1.2.3