summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-12 00:31:16 +0200
committerwm4 <wm4@nowhere>2014-06-12 00:55:13 +0200
commit0d7c4b24c1ccc2869ece197b7c45b3c0c81a7d3d (patch)
tree2f65dedc75d31af7792ca1c8384c07f2572af88f /player
parent9a0baa4c5310ed54915128dcb07796dea2f52fc6 (diff)
downloadmpv-0d7c4b24c1ccc2869ece197b7c45b3c0c81a7d3d.tar.bz2
mpv-0d7c4b24c1ccc2869ece197b7c45b3c0c81a7d3d.tar.xz
encode: don't load Lua scripts
This is most likely never intended.
Diffstat (limited to 'player')
-rw-r--r--player/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index e2672a744e..3ceb172480 100644
--- a/player/main.c
+++ b/player/main.c
@@ -397,6 +397,8 @@ int mp_initialize(struct MPContext *mpctx)
m_config_set_option0(mpctx->mconfig, "force-window", "no");
m_config_set_option0(mpctx->mconfig, "gapless-audio", "yes");
m_config_set_option0(mpctx->mconfig, "resume-playback", "no");
+ m_config_set_option0(mpctx->mconfig, "load-scripts", "no");
+ m_config_set_option0(mpctx->mconfig, "osc", "no");
mp_input_enable_section(mpctx->input, "encode", MP_INPUT_EXCLUSIVE);
}
#endif