diff options
author | wm4 <wm4@nowhere> | 2018-09-01 13:04:45 +0200 |
---|---|---|
committer | Anton Kindestam <antonki@kth.se> | 2018-12-06 10:30:41 +0100 |
commit | 4dfaa373846e79f1bc34b50426c1584b948c0eb6 (patch) | |
tree | 145bc5c7d1ae9e23efc431f29234e29c148de5e4 /stream/stream.h | |
parent | b1ba7de34dd5685a082454817f23509d1c28e4aa (diff) | |
download | mpv-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.h')
-rw-r--r-- | stream/stream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h index c91843de8a..971560f492 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -175,6 +175,10 @@ typedef struct stream { struct mp_cancel *cancel; // cancellation notification + // Read statistic for fill_buffer calls. All bytes read by fill_buffer() are + // added to this. The user can reset this as needed. + uint64_t total_unbuffered_read_bytes; + // Includes additional padding in case sizes get rounded up by sector size. unsigned char buffer[]; } stream_t; |