summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-11-10 16:43:09 +0100
committerwm4 <wm4@nowhere>2017-11-10 16:43:18 +0100
commit8e50dc1b4dda5d15ddf0b1cc28b907356b956512 (patch)
tree1a4b752cebef99ef578cf38e585dedb651b676dd /demux/demux.h
parent1b0dc7d169cc7ef3ef20727781b1e8fee5ca159f (diff)
downloadmpv-8e50dc1b4dda5d15ddf0b1cc28b907356b956512.tar.bz2
mpv-8e50dc1b4dda5d15ddf0b1cc28b907356b956512.tar.xz
demux: export demuxer cache sizes in bytes
Plus sort of document them, together with the already existing undocumented fields. (This is mostly for debugging, so use is discouraged.)
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 95e0f77c7c..9224ca3a98 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -51,6 +51,8 @@ struct demux_ctrl_reader_state {
double ts_duration;
double ts_reader; // approx. timerstamp of decoder position
double ts_end; // approx. timestamp of end of buffered range
+ int64_t total_bytes;
+ int64_t fw_bytes;
// Positions that can be seeked to without incurring the latency of a low
// level seek.
int num_seek_ranges;