summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-08-15 19:12:39 +0200
committerwm4 <wm4@nowhere>2017-08-15 19:41:23 +0200
commit34ab0386cb1f28197ca11e90cd0236e352083758 (patch)
tree68c90a60549bcf65ef615d20d2d59fb745ba49f6 /video/out/opengl/video.c
parent935df644af755fdf17a47a61ee840f5baec33cd3 (diff)
downloadmpv-34ab0386cb1f28197ca11e90cd0236e352083758.tar.bz2
mpv-34ab0386cb1f28197ca11e90cd0236e352083758.tar.xz
vo_rpi: fix operation
Commit 697c4389a9e6 worked "almost". I couldn't test it at the time.
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)
{