From fe67aa7b1878ca3cf3bf81dcafa1bbe3efaf51c8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 18 Mar 2016 22:03:04 +0100 Subject: 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.) --- player/lua/defaults.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') 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 -- cgit v1.2.3