player: do not let pseudo-gui override user config settings

Seems like this confused users quite often.

Instead of --profile=pseudo-gui, --player-operation-mode=pseudo-gui now
has to be used to invoke pseudo GUI mode. The old way still works, and
still behaves in the old way.
This commit is contained in:
wm4
2016-09-23 21:24:50 +02:00
parent f0fd663320
commit 9eef41dec1
11 changed files with 42 additions and 11 deletions

View File

@@ -399,6 +399,9 @@ int mp_initialize(struct MPContext *mpctx, char **options)
mp_print_version(mpctx->log, false);
if (opts->operation_mode == 1)
m_config_set_profile(mpctx->mconfig, "pseudo-gui", M_SETOPT_NO_OVERWRITE);
mp_parse_cfgfiles(mpctx);
if (options) {