diff options
-rw-r--r-- | player/lua/osc.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua index e4faf6c0cc..cc0e0d0461 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -1894,7 +1894,7 @@ function hide_osc() -- no-op and won't render again to remove the osc, so do that manually. state.osc_visible = false timer_stop() - render() -- state.osc_visible == false -> remove the osc from screen + render_wipe() elseif (user_opts.fadeduration > 0) then if not(state.osc_visible == false) then state.anitype = "out" @@ -1973,6 +1973,11 @@ function request_init() state.initREQ = true end +function render_wipe() + msg.debug("render_wipe()") + mp.set_osd_ass(0, 0, "{}") +end + function render() msg.debug("rendering") local current_screen_sizeX, current_screen_sizeY, aspect = mp.get_osd_size() |