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:
parent
321c93ee99
commit
8ed6d26977
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user