mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
04be2b43ec
commit
3dd5621cec
|
@ -4586,6 +4586,7 @@ done:
|
|||
}
|
||||
|
||||
osd_set_external2(mpctx->osd, new);
|
||||
mp_wakeup_core(mpctx);
|
||||
cmd->overlay_osd_current = overlay_next;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue