summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-23 22:35:54 +0200
committerwm4 <wm4@nowhere>2016-09-23 22:35:54 +0200
commit1500c8422643f322f41620cff88c49850844e826 (patch)
tree75fbd4c04eb23b44b8c77b1061345b040fc68a8c /player
parent9eef41dec15580623cfa62909221fbc1fbf41706 (diff)
downloadmpv-1500c8422643f322f41620cff88c49850844e826.tar.bz2
mpv-1500c8422643f322f41620cff88c49850844e826.tar.xz
player: fix intended pseudo-gui behavior
It's still supposed to be possible to customize the pseudo-gui section.
Diffstat (limited to 'player')
-rw-r--r--player/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/player/main.c b/player/main.c
index cecdc15392..678ef5a5a1 100644
--- a/player/main.c
+++ b/player/main.c
@@ -399,9 +399,6 @@ 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) {
@@ -411,6 +408,9 @@ int mp_initialize(struct MPContext *mpctx, char **options)
return r == M_OPT_EXIT ? -2 : -1;
}
+ if (opts->operation_mode == 1)
+ m_config_set_profile(mpctx->mconfig, "pseudo-gui", M_SETOPT_NO_OVERWRITE);
+
mp_get_resume_defaults(mpctx);
// From this point on, all mpctx members are initialized.