summaryrefslogtreecommitdiffstats
path: root/sub/osd_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/osd_state.h')
-rw-r--r--sub/osd_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sub/osd_state.h b/sub/osd_state.h
index 056e54b1a8..fc6e515610 100644
--- a/sub/osd_state.h
+++ b/sub/osd_state.h
@@ -3,6 +3,7 @@
#include <pthread.h>
+#include "osdep/atomic.h"
#include "osd.h"
enum mp_osdtype {
@@ -70,7 +71,7 @@ struct osd_state {
struct osd_object *objs[MAX_OSD_PARTS];
bool render_subs_in_filter;
- double force_video_pts;
+ mp_atomic_double force_video_pts;
bool want_redraw;
bool want_redraw_notification;