1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 23:02:37 +00:00

player: fix intended pseudo-gui behavior

It's still supposed to be possible to customize the pseudo-gui section.
This commit is contained in:
wm4 2016-09-23 22:35:54 +02:00
parent 9eef41dec1
commit 1500c84226

View File

@ -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.