mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user