From 1500c8422643f322f41620cff88c49850844e826 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Sep 2016 22:35:54 +0200 Subject: [PATCH] player: fix intended pseudo-gui behavior It's still supposed to be possible to customize the pseudo-gui section. --- player/main.c | 6 +++--- 1 file 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.