summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 4fac2007a4..24a08ecff4 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -42,8 +42,14 @@ enum demux_ctrl {
struct demux_ctrl_reader_state {
bool eof, underrun, idle;
- double ts_range[2]; // start, end
double ts_duration;
+ double ts_reader; // approx. timerstamp of decoder position
+ double ts_start; // approx. timestamp for the earliest packet buffered
+ double ts_min; // timestamp of the earliest packet in backward cache
+ // that can be seeked to (i.e. all streams have such
+ // a packet for which SEEK_BACKWARD can be executed)
+ double ts_max; // timestamp of latest packet in forward cache that can be
+ // seeked to
};
struct demux_ctrl_stream_ctrl {