encode: disable keep-open when encoding

This commit is contained in:
James Ross-Gowan authored and wm4 committed 2014-04-19 14:35:57 +02:00
1 parent 2f5217dd05
commit 78b07c7b60
1 file changed
+1
+1
View File
@@ -393,6 +393,7 @@ int mp_initialize(struct MPContext *mpctx)
m_config_set_option0(mpctx->mconfig, "vo", "lavc");
m_config_set_option0(mpctx->mconfig, "ao", "lavc");
m_config_set_option0(mpctx->mconfig, "fixed-vo", "yes");
m_config_set_option0(mpctx->mconfig, "keep-open", "no");
m_config_set_option0(mpctx->mconfig, "force-window", "no");
m_config_set_option0(mpctx->mconfig, "gapless-audio", "yes");
mp_input_enable_section(mpctx->input, "encode", MP_INPUT_EXCLUSIVE);