From 7af8417ae7beb409f54849956a7037bc66c4c334 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 22 Mar 2009 04:26:59 +0200 Subject: 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. --- libvo/vo_gl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 2e85163833..2a0edaab6d 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -1205,6 +1205,8 @@ static int control(uint32_t request, void *data) if (vo_doublebuffering) do_render(); draw_osd(); + if (vo_doublebuffering) + do_render_osd(2); flip_page(); return VO_TRUE; } -- cgit v1.2.3