summaryrefslogtreecommitdiffstats
path: root/player/configfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/configfiles.c')
-rw-r--r--player/configfiles.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/player/configfiles.c b/player/configfiles.c
index acc8f0d60b..3f0b57cde3 100644
--- a/player/configfiles.c
+++ b/player/configfiles.c
@@ -71,10 +71,10 @@ void mp_parse_cfgfiles(struct MPContext *mpctx)
// So we "divert" normal options into a separate section, and the diverted
// section is never used - unless maybe it's explicitly referenced from an
// encoding profile.
- if (encoding) {
+ if (encoding)
section = "playback-default";
- load_all_cfgfiles(mpctx, SECT_ENCODE, "encoding-profiles.conf");
- }
+
+ load_all_cfgfiles(mpctx, NULL, "encoding-profiles.conf");
load_all_cfgfiles(mpctx, section, "mpv.conf|config");