diff options
author | wm4 <wm4@nowhere> | 2014-12-11 01:04:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-11 01:04:15 +0100 |
commit | d054289f668499d6acea307f14c62d44d35b6840 (patch) | |
tree | d01cd9f4195e0339cd6ee3aedd164d51c4742ebb /options/m_config.h | |
parent | eb36bd6945bad1ddc80663f7b8d3fe95db3ca284 (diff) | |
download | mpv-d054289f668499d6acea307f14c62d44d35b6840.tar.bz2 mpv-d054289f668499d6acea307f14c62d44d35b6840.tar.xz |
options: add slightly more sophistcated mechanism for option deprecation
Diffstat (limited to 'options/m_config.h')
-rw-r--r-- | options/m_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/m_config.h b/options/m_config.h index 2a27dc69a6..9993909e41 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -40,6 +40,7 @@ struct mp_log; struct m_config_option { bool is_generated : 1; // Automatically added ("no-" options) bool is_set_from_cmdline : 1; // Set by user from command line + bool warning_was_printed : 1; const char *name; // Full name (ie option-subopt) const struct m_option *opt; // Option description void *data; // Raw value of the option |