mirror of https://github.com/mpv-player/mpv
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:
parent
6efd095dfd
commit
1e692cb043
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue