summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-09-01 13:04:45 +0200
committerAnton Kindestam <antonki@kth.se>2018-12-06 10:30:41 +0100
commit4dfaa373846e79f1bc34b50426c1584b948c0eb6 (patch)
tree145bc5c7d1ae9e23efc431f29234e29c148de5e4 /stream/stream.c
parentb1ba7de34dd5685a082454817f23509d1c28e4aa (diff)
downloadmpv-4dfaa373846e79f1bc34b50426c1584b948c0eb6.tar.bz2
mpv-4dfaa373846e79f1bc34b50426c1584b948c0eb6.tar.xz
demux, stream: readd cache-speed in some other form
it's more like an input speed rather than a cache speed, but who cares.
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 7d093e1913..e0dfbd33fd 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -342,6 +342,7 @@ static int stream_read_unbuffered(stream_t *s, void *buf, int len)
// When reading succeeded we are obviously not at eof.
s->eof = 0;
s->pos += res;
+ s->total_unbuffered_read_bytes += res;
return res;
}