summaryrefslogtreecommitdiffstats
path: root/core/mp_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/mp_core.h')
-rw-r--r--core/mp_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/mp_core.h b/core/mp_core.h
index 6da6365ab6..0439ca13f5 100644
--- a/core/mp_core.h
+++ b/core/mp_core.h
@@ -215,6 +215,9 @@ typedef struct MPContext {
* (or at least queued to be flipped by VO) */
double video_pts;
double last_seek_pts;
+ // As video_pts, but is not reset when seeking away. (For the very short
+ // period of time until a new frame is decoded and shown.)
+ double last_vo_pts;
// used to prevent hanging in some error cases
unsigned int start_timestamp;