summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2014-04-18 20:51:16 +1000
committerwm4 <wm4@nowhere>2014-04-30 11:45:31 +0200
commit70f8ea228d946025e8859171809a522e1ab813cb (patch)
treed9f8619623172c6165c2a1d75bd0b0600ec300e5
parent3196f4cdd7810ebc2be72b1916f9c2f34874d510 (diff)
downloadmpv-70f8ea228d946025e8859171809a522e1ab813cb.tar.bz2
mpv-70f8ea228d946025e8859171809a522e1ab813cb.tar.xz
encode: disable keep-open when encoding
-rw-r--r--player/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index 50cde63e1d..f54b2d542a 100644
--- a/player/main.c
+++ b/player/main.c
@@ -401,6 +401,7 @@ static int mpv_main(int argc, char *argv[])
m_config_set_option0(mpctx->mconfig, "vo", "lavc");
m_config_set_option0(mpctx->mconfig, "ao", "lavc");
m_config_set_option0(mpctx->mconfig, "fixed-vo", "yes");
+ 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");
mp_input_enable_section(mpctx->input, "encode", MP_INPUT_EXCLUSIVE);