diff options
author | wm4 <wm4@nowhere> | 2017-11-10 16:43:09 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-11-10 16:43:18 +0100 |
commit | 8e50dc1b4dda5d15ddf0b1cc28b907356b956512 (patch) | |
tree | 1a4b752cebef99ef578cf38e585dedb651b676dd /demux/demux.c | |
parent | 1b0dc7d169cc7ef3ef20727781b1e8fee5ca159f (diff) | |
download | mpv-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.c')
-rw-r--r-- | demux/demux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demux/demux.c b/demux/demux.c index b66ed9abbb..342eb7fb56 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -2639,6 +2639,8 @@ static int cached_demux_control(struct demux_internal *in, int cmd, void *arg) .ts_reader = MP_NOPTS_VALUE, .ts_end = MP_NOPTS_VALUE, .ts_duration = -1, + .total_bytes = in->total_bytes, + .fw_bytes = in->fw_bytes, }; bool any_packets = false; for (int n = 0; n < in->num_streams; n++) { |