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.
This commit is contained in:
wm4 2015-04-10 20:31:21 +02:00
parent 6efd095dfd
commit 1e692cb043
1 changed files with 1 additions and 2 deletions

View File

@ -318,8 +318,7 @@ static void add_default_profiles(struct m_config *cfg)
struct m_profile *ui = m_config_add_profile(cfg, "pseudo-gui"); 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("terminal"), bstr0("no"));
m_config_set_profile_option(cfg, ui, bstr0("force-window"), bstr0("yes")); 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("idle"), bstr0("once"));
m_config_set_profile_option(cfg, ui, bstr0("keep-open"), bstr0("yes"));
} }
struct MPContext *mp_create(void) struct MPContext *mp_create(void)