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:
parent
9eef41dec1
commit
1500c84226
@ -399,9 +399,6 @@ int mp_initialize(struct MPContext *mpctx, char **options)
|
|||||||
|
|
||||||
mp_print_version(mpctx->log, false);
|
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);
|
mp_parse_cfgfiles(mpctx);
|
||||||
|
|
||||||
if (options) {
|
if (options) {
|
||||||
@ -411,6 +408,9 @@ int mp_initialize(struct MPContext *mpctx, char **options)
|
|||||||
return r == M_OPT_EXIT ? -2 : -1;
|
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);
|
mp_get_resume_defaults(mpctx);
|
||||||
|
|
||||||
// From this point on, all mpctx members are initialized.
|
// From this point on, all mpctx members are initialized.
|
||||||
|
Loading…
Reference in New Issue
Block a user