summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-02 00:09:43 +0200
committerwm4 <wm4@nowhere>2015-04-02 00:09:43 +0200
commit83bd1280166117cd7aa40fc91a0e5e227fa68aef (patch)
treeaac4044fa550cd6af985bd721a35951561ba7e4c
parent550d908ba8d505b70fb64c4979de4f05f2d452c6 (diff)
downloadmpv-83bd1280166117cd7aa40fc91a0e5e227fa68aef.tar.bz2
mpv-83bd1280166117cd7aa40fc91a0e5e227fa68aef.tar.xz
player: add --idle --keep-open to pseudo-gui profile
-rw-r--r--player/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index 7f0e61f9e4..77ec8053d5 100644
--- a/player/main.c
+++ b/player/main.c
@@ -318,6 +318,8 @@ 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"));
}
struct MPContext *mp_create(void)