mirror of https://github.com/mpv-player/mpv
vo_gl: Fix libass subtitles disappearing during pause
EOSD bitmaps were not properly redrawn when the screen was updated to change other OSD content, resulting in libass subtitles disappearing if the OSD changed while paused. Fixed by adding a call to redraw the EOSD part too.
This commit is contained in:
parent
ebcb5a7154
commit
7af8417ae7
|
@ -1205,6 +1205,8 @@ static int control(uint32_t request, void *data)
|
||||||
if (vo_doublebuffering)
|
if (vo_doublebuffering)
|
||||||
do_render();
|
do_render();
|
||||||
draw_osd();
|
draw_osd();
|
||||||
|
if (vo_doublebuffering)
|
||||||
|
do_render_osd(2);
|
||||||
flip_page();
|
flip_page();
|
||||||
return VO_TRUE;
|
return VO_TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue