diff options
author | wm4 <wm4@nowhere> | 2014-04-19 22:31:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-30 11:45:31 +0200 |
commit | 3d85137495f96a714ab02a50d80b63c1c0126547 (patch) | |
tree | cc4e5be1b6ad37593ef4f44b9a0cce6b28e24756 /player | |
parent | 4aff0076a05006892dd48bf0768d14127f5f63bf (diff) | |
download | mpv-3d85137495f96a714ab02a50d80b63c1c0126547.tar.bz2 mpv-3d85137495f96a714ab02a50d80b63c1c0126547.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 f54b2d542a..37b0af02ce 100644 --- a/player/main.c +++ b/player/main.c @@ -404,6 +404,7 @@ static int mpv_main(int argc, char *argv[]) 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 |