summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2008-12-09 17:31:01 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-01-14 02:06:14 +0200
commit8ed6d269779d8917492614ce8b204a712e311195 (patch)
tree5df2bd4ad1557bdd36f09d0228ff22f758cb281e /libvo
parent321c93ee998266cff4ce5b5eff2aaba4e2311dd0 (diff)
downloadmpv-8ed6d269779d8917492614ce8b204a712e311195.tar.bz2
mpv-8ed6d269779d8917492614ce8b204a712e311195.tar.xz
vo_gl: Support changing OSD over existing frame
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index a9a2690756..5e79014ded 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1107,6 +1107,12 @@ static int control(uint32_t request, void *data)
case VOCTRL_UPDATE_SCREENINFO:
update_xinerama_info();
return VO_TRUE;
+ case VOCTRL_REDRAW_OSD:
+ if (vo_doublebuffering)
+ do_render();
+ draw_osd();
+ flip_page();
+ return VO_TRUE;
}
return VO_NOTIMPL;
}