diff options
author | wm4 <wm4@nowhere> | 2014-04-19 22:31:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-19 22:31:35 +0200 |
commit | 0879db960dbbddf50a58ca8dac49e428658fc1c9 (patch) | |
tree | 7fdeecad5e9248a12e37c037c165227970c18aeb /player | |
parent | b85983a4a6f52c85651f916bfedb8234c9424634 (diff) | |
download | mpv-0879db960dbbddf50a58ca8dac49e428658fc1c9.tar.bz2 mpv-0879db960dbbddf50a58ca8dac49e428658fc1c9.tar.xz |
encode: don't resume playback when encoding
The previous commit doesn't handle additionally loaded config files,
such as the playback resume mechanism.
Diffstat (limited to 'player')
-rw-r--r-- | player/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c index 0763fd69b8..6217c6af64 100644 --- a/player/main.c +++ b/player/main.c @@ -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 |