encode: don't load Lua scripts

This is most likely never intended.
This commit is contained in:
wm4 2014-06-12 00:31:16 +02:00
parent 9a0baa4c53
commit 0d7c4b24c1
1 changed files with 2 additions and 0 deletions

View File

@ -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