1
mirror of https://github.com/mpv-player/mpv synced 2024-08-08 13:25:45 +02:00

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

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