diff options
author | wm4 <wm4@nowhere> | 2019-11-29 00:16:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-29 12:14:43 +0100 |
commit | 1cb085a82e89ce4c9150871c910c75d9404d1e01 (patch) | |
tree | ab0fdbaa22568377a051aaef4740d5cf3656a543 /options/options.h | |
parent | 5083db91ebff2fa469d94520bd3e8e535da74b8d (diff) | |
download | mpv-1cb085a82e89ce4c9150871c910c75d9404d1e01.tar.bz2 mpv-1cb085a82e89ce4c9150871c910c75d9404d1e01.tar.xz |
options: get rid of GLOBAL_CONFIG hack
Just an implementation detail that can be cleaned up now. Internally,
m_config maintains a tree of m_sub_options structs, except for the root
it was not defined explicitly. GLOBAL_CONFIG was a hack to get access to
it anyway. Define it explicitly instead.
Diffstat (limited to 'options/options.h')
-rw-r--r-- | options/options.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/options/options.h b/options/options.h index 126e4cb59a..1935888032 100644 --- a/options/options.h +++ b/options/options.h @@ -355,8 +355,6 @@ struct filter_opts { int deinterlace; }; -extern const m_option_t mp_opts[]; -extern const struct MPOpts mp_default_opts; extern const struct m_sub_options vo_sub_opts; extern const struct m_sub_options dvd_conf; extern const struct m_sub_options mp_subtitle_sub_opts; @@ -364,5 +362,6 @@ extern const struct m_sub_options mp_osd_render_sub_opts; extern const struct m_sub_options filter_conf; extern const struct m_sub_options resample_conf; extern const struct m_sub_options stream_conf; +extern const struct m_sub_options mp_opt_root; #endif |