mirror of https://github.com/mpv-player/mpv
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:
parent
b85983a4a6
commit
0879db960d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue