encode: don't resume playback when encoding

The previous commit doesn't handle additionally loaded config files,
such as the playback resume mechanism.
This commit is contained in:
wm4 2014-04-19 22:31:35 +02:00
parent b85983a4a6
commit 0879db960d
1 changed files with 1 additions and 0 deletions

View File

@ -394,6 +394,7 @@ int mp_initialize(struct MPContext *mpctx)
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");
m_config_set_option0(mpctx->mconfig, "resume-playback", "no");
mp_input_enable_section(mpctx->input, "encode", MP_INPUT_EXCLUSIVE);
}
#endif