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 /options/parse_configfile.h | |
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 'options/parse_configfile.h')
-rw-r--r-- | options/parse_configfile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/options/parse_configfile.h b/options/parse_configfile.h index f603125822..3622fc87da 100644 --- a/options/parse_configfile.h +++ b/options/parse_configfile.h @@ -20,8 +20,9 @@ #include "m_config_frontend.h" -int m_config_parse_config_file(m_config_t* config, const char *conffile, - char *initial_section, int flags); +int m_config_parse_config_file(m_config_t* config, struct mpv_global *global, + const char *conffile, char *initial_section, + int flags); int m_config_parse(m_config_t *config, const char *location, bstr data, char *initial_section, int flags); |