From 3dd5621cecdd41c86117d70f93a24aede5e50bbc Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 23 Jan 2018 23:52:58 +0100 Subject: [PATCH] command: make sure to redraw on overlay commands When overlay-add etc. is run, make sure the playlop is rerun so that it considers actually redrawing the screen. (I considered making the OSD code generally wakeup the player, but that will probably lead to redundant wakeups, so I didn't bother.) Fixes #5431. --- player/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/player/command.c b/player/command.c index 2496b396ff..c6f23eb9bf 100644 --- a/player/command.c +++ b/player/command.c @@ -4586,6 +4586,7 @@ done: } osd_set_external2(mpctx->osd, new); + mp_wakeup_core(mpctx); cmd->overlay_osd_current = overlay_next; }