summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-19 22:10:09 +0100
committerwm4 <wm4@nowhere>2019-12-19 22:10:09 +0100
commit69fb2ddbc7b8ccec31348be4b7357ad9a8d48896 (patch)
tree9874ecdf94647f0fc3258ab1dfd435218eacfd60
parent3460a7b6960f4be76bed91ab9e20b7d7a82a335b (diff)
downloadmpv-69fb2ddbc7b8ccec31348be4b7357ad9a8d48896.tar.bz2
mpv-69fb2ddbc7b8ccec31348be4b7357ad9a8d48896.tar.xz
osc: fix crash when toggling visibility
The previous osc.lua related commit removed this function, and trying to call it crashed the OSC. Just remove the call.
-rw-r--r--player/lua/osc.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 78686df99b..54909593f6 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -2118,7 +2118,6 @@ function hide_osc()
-- typically hide happens at render() from tick(), but now tick() is
-- no-op and won't render again to remove the osc, so do that manually.
state.osc_visible = false
- timer_stop()
render_wipe()
elseif (user_opts.fadeduration > 0) then
if not(state.osc_visible == false) then