1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 04:51:52 +00:00

vo_gl: Support changing OSD over existing frame

This commit is contained in:
Uoti Urpala 2008-12-09 17:31:01 +02:00
parent 321c93ee99
commit 8ed6d26977

View File

@ -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;
}