diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-03-22 04:26:59 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-03-22 04:26:59 +0200 |
commit | 7af8417ae7beb409f54849956a7037bc66c4c334 (patch) | |
tree | 24c0b0f71fa3b3023b44f296eca8de73abe51d97 | |
parent | ebcb5a7154af539d0b0fb869e0a70c66bbd6eda1 (diff) |
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.
-rw-r--r-- | libvo/vo_gl.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |