summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-23 23:52:58 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-01-25 20:18:32 -0800
commit3dd5621cecdd41c86117d70f93a24aede5e50bbc (patch)
tree872b81daa1d7d9894df4e0cb4a7dbb0bf1c3c5f8 /player/command.c
parent04be2b43ecb7195a581cfa11aace20a79dfbd416 (diff)
downloadmpv-3dd5621cecdd41c86117d70f93a24aede5e50bbc.tar.bz2
mpv-3dd5621cecdd41c86117d70f93a24aede5e50bbc.tar.xz
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.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
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;
}