summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 08904f26cc..401f1d146c 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -36,12 +36,17 @@ struct demux_seek_range {
double start, end;
};
+struct demux_ctrl_ts_info {
+ double duration;
+ double reader; // approx. timestamp of decoder position
+ double end; // approx. timestamp of end of buffered 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
+ struct demux_ctrl_ts_info ts_info;
+ struct demux_ctrl_ts_info ts_per_stream[STREAM_TYPE_COUNT];
int64_t total_bytes;
int64_t fw_bytes;
int64_t file_cache_bytes;