encode: disable keep-open when encoding

This commit is contained in:
James Ross-Gowan 2014-04-18 20:51:16 +10:00 committed by wm4
parent 2f5217dd05
commit 78b07c7b60
1 changed files with 1 additions and 0 deletions

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);