diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2023-02-24 03:04:52 +0000 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-04-29 22:34:54 +0000 |
commit | 6d422b3edc00a36dde5e1b073a07938d98720f3a (patch) | |
tree | b1355c6e076da2b6fe9bb297a87e66abe9c0afe3 /player/main.c | |
parent | 7668361685bcd1ab8bfa036c91b731dd86725831 (diff) | |
download | mpv-6d422b3edc00a36dde5e1b073a07938d98720f3a.tar.bz2 mpv-6d422b3edc00a36dde5e1b073a07938d98720f3a.tar.xz |
options: read config file as stream
This aligns the possible sources of config files other loaded data.
For example `--input-conf`.
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c index 509f96ac5f..8026f016aa 100644 --- a/player/main.c +++ b/player/main.c @@ -231,7 +231,7 @@ static int cfg_include(void *ctx, char *filename, int flags) { struct MPContext *mpctx = ctx; char *fname = mp_get_user_path(NULL, mpctx->global, filename); - int r = m_config_parse_config_file(mpctx->mconfig, fname, NULL, flags); + int r = m_config_parse_config_file(mpctx->mconfig, mpctx->global, fname, NULL, flags); talloc_free(fname); return r; } |