summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-10 20:31:21 +0200
committerwm4 <wm4@nowhere>2015-04-10 20:31:21 +0200
commit1e692cb043ac109d734de366859298d28d96b2ed (patch)
treef7874d365849bd00fd9ec78518977e0254b2947b
parent6efd095dfd6abc02ea1a1daa34f8b21080012931 (diff)
downloadmpv-1e692cb043ac109d734de366859298d28d96b2ed.tar.bz2
mpv-1e692cb043ac109d734de366859298d28d96b2ed.tar.xz
player: change pseudo-gui settings
Remove --keep-open. Switch to --idle=once. This effectively makes the player quit after end of playback, but still shows the idle screen if it was started with no files.
-rw-r--r--player/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/player/main.c b/player/main.c
index 0c5d39fdf8..2f64c3b67e 100644
--- a/player/main.c
+++ b/player/main.c
@@ -318,8 +318,7 @@ static void add_default_profiles(struct m_config *cfg)
struct m_profile *ui = m_config_add_profile(cfg, "pseudo-gui");
m_config_set_profile_option(cfg, ui, bstr0("terminal"), bstr0("no"));
m_config_set_profile_option(cfg, ui, bstr0("force-window"), bstr0("yes"));
- m_config_set_profile_option(cfg, ui, bstr0("idle"), bstr0("yes"));
- m_config_set_profile_option(cfg, ui, bstr0("keep-open"), bstr0("yes"));
+ m_config_set_profile_option(cfg, ui, bstr0("idle"), bstr0("once"));
}
struct MPContext *mp_create(void)