summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-18 22:03:04 +0100
committerwm4 <wm4@nowhere>2016-03-18 22:03:04 +0100
commitfe67aa7b1878ca3cf3bf81dcafa1bbe3efaf51c8 (patch)
tree53ed423c7ff01359fef524b2ad763ac01eda48f7 /player
parent042ca849ea6f2550ee4a14206c1dcf70659544d5 (diff)
downloadmpv-fe67aa7b1878ca3cf3bf81dcafa1bbe3efaf51c8.tar.bz2
mpv-fe67aa7b1878ca3cf3bf81dcafa1bbe3efaf51c8.tar.xz
lua: don't suspend core by default during script execution
This changes behavior somewhat. The old behavior can be restored by running "mp.use_suspend=true". It was originally introduced for the OSC, but I can't reproduce whatever misbehavior I was seeing. (See mp.suspend()/resume() for explanations what the suspend mechanism does.)
Diffstat (limited to 'player')
-rw-r--r--player/lua/defaults.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua
index d0ef57cccd..38905a610b 100644
--- a/player/lua/defaults.lua
+++ b/player/lua/defaults.lua
@@ -438,7 +438,7 @@ local function call_event_handlers(e)
end
end
-mp.use_suspend = true
+mp.use_suspend = false
function mp.dispatch_events(allow_wait)
local more_events = true