summaryrefslogtreecommitdiffstats
path: root/player/external_files.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-21 16:25:52 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:35 +0200
commitf8ab59eacdde31af39f4defeb964adf4de140a50 (patch)
treec353dede917a1f371a02e848f174aa4e541ffe97 /player/external_files.h
parenta770006c6ec1c0173e33a63d36cafca743e63808 (diff)
downloadmpv-f8ab59eacdde31af39f4defeb964adf4de140a50.tar.bz2
mpv-f8ab59eacdde31af39f4defeb964adf4de140a50.tar.xz
player: get rid of mpv_global.opts
This was always a legacy thing. Remove it by applying an orgy of mp_get_config_group() calls, and sometimes m_config_cache_alloc() or mp_read_option_raw(). win32 changes untested.
Diffstat (limited to 'player/external_files.h')
-rw-r--r--player/external_files.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/player/external_files.h b/player/external_files.h
index 7d7d751332..d2de60ee5e 100644
--- a/player/external_files.h
+++ b/player/external_files.h
@@ -28,7 +28,9 @@ struct subfn {
};
struct mpv_global;
-struct subfn *find_external_files(struct mpv_global *global, const char *fname);
+struct MPOpts;
+struct subfn *find_external_files(struct mpv_global *global, const char *fname,
+ struct MPOpts *opts);
bool mp_might_be_subtitle_file(const char *filename);