summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r--video/out/opengl/video.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 791d1895a1..19b13d9349 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -3129,6 +3129,11 @@ void gl_video_set_clear_color(struct gl_video *p, struct m_color c)
p->clear_color = c;
}
+void gl_video_set_osd_pts(struct gl_video *p, double pts)
+{
+ p->osd_pts = pts;
+}
+
bool gl_video_check_osd_change(struct gl_video *p, struct mp_osd_res *res,
double pts)
{