summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index aaede73586..3c9e8e56b1 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -70,6 +70,11 @@ typedef struct MPContext {
// by the audio CPU usage meter.
double delay;
+ // Timestamp from the last time some timing functions read the
+ // current time, in (occasionally wrapping) microseconds. Used
+ // to turn a new time value to a delta from last time.
+ unsigned int last_time;
+
// Used to communicate the parameters of a seek between parts
float rel_seek_secs;
int abs_seek_pos;