summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index 1111ee49c4..c02edd4155 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -152,6 +152,9 @@ typedef struct MPContext {
* (or at least queued to be flipped by VO) */
double video_pts;
+ // used to prevent hanging in some error cases
+ unsigned int start_timestamp;
+
// 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.