summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-05-17 22:28:12 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commita3991078bde2266184fa3eb71b0e6228975f55db (patch)
tree9425be85fdd80e60ba6ef13289417d8752223ea5 /demux/demux.h
parentf57fad4a4d1922eb9a0ac8f21fd3328756babd0c (diff)
downloadmpv-a3991078bde2266184fa3eb71b0e6228975f55db.tar.bz2
mpv-a3991078bde2266184fa3eb71b0e6228975f55db.tar.xz
demux, command: export bof/eof flags
Export these flags with demuxer-cache-state. Useful for debugging, but any client API users could also make use of it.
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 526c03713e..085fa26cff 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -38,6 +38,7 @@ struct demux_seek_range {
struct demux_reader_state {
bool eof, underrun, idle;
+ bool bof_cached, eof_cached;
double ts_duration;
double ts_reader; // approx. timerstamp of decoder position
double ts_end; // approx. timestamp of end of buffered range