summaryrefslogtreecommitdiffstats
path: root/common/global.h
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2016-10-19 19:09:00 +0200
committerMartin Herkt <lachs0r@srsfckn.biz>2016-10-19 19:09:00 +0200
commit5d74fa7dc0fa1617d1d11b69769423b1387ec785 (patch)
tree882752015b3500c91b8ab3a4d669696f23feb817 /common/global.h
parentc226bc7616ab2ae9de6172660e9cf727f07dc374 (diff)
parenta2fa0d0b68ce200598122145254f56ae1adff91e (diff)
downloadmpv-5d74fa7dc0fa1617d1d11b69769423b1387ec785.tar.bz2
mpv-5d74fa7dc0fa1617d1d11b69769423b1387ec785.tar.xz
Merge branch 'master' into release/current
Diffstat (limited to 'common/global.h')
-rw-r--r--common/global.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/global.h b/common/global.h
index fb70b4ff01..879ca72386 100644
--- a/common/global.h
+++ b/common/global.h
@@ -5,9 +5,13 @@
// The only purpose of this is to make mpv library-safe.
// Think hard before adding new members.
struct mpv_global {
- struct MPOpts *opts;
struct mp_log *log;
+ struct m_config_shadow *config;
struct mp_client_api *client_api;
+
+ // Using this is deprecated and should be avoided (missing synchronization).
+ // Use m_config_cache to access mpv_global.config instead.
+ struct MPOpts *opts;
};
#endif