summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2014-04-18 20:51:16 +1000
committerwm4 <wm4@nowhere>2014-04-19 14:35:57 +0200
commit78b07c7b605193de29f5e4e8d2e6b8f0495dd044 (patch)
tree445213dcf3f52de40e376bf793c71e430daef54e /player
parent2f5217dd0519616b842a158bc0a59b92b4740f7c (diff)
downloadmpv-78b07c7b605193de29f5e4e8d2e6b8f0495dd044.tar.bz2
mpv-78b07c7b605193de29f5e4e8d2e6b8f0495dd044.tar.xz
encode: disable keep-open when encoding
Diffstat (limited to 'player')
-rw-r--r--player/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index dc685b84f7..baf12c7f3a 100644
--- a/player/main.c
+++ b/player/main.c
@@ -393,6 +393,7 @@ int mp_initialize(struct MPContext *mpctx)
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);