vlc | branch: master | Lyndon Brown <jnq...@gmail.com> | Tue Feb 20 05:04:33 2018 +0000| [34b68b13fac8a12ed3b2ac4fb6fc842ec6dadac0] | committer: Rémi Denis-Courmont
config/file: ignore obsolete options on read Signed-off-by: Rémi Denis-Courmont <r...@remlab.net> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=34b68b13fac8a12ed3b2ac4fb6fc842ec6dadac0 --- src/config/file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/file.c b/src/config/file.c index 2730d0bf80..9aec53e9f1 100644 --- a/src/config/file.c +++ b/src/config/file.c @@ -210,6 +210,9 @@ int config_LoadConfigFile( vlc_object_t *p_this ) /* Reject values of options that are unsaveable */ if (item->b_unsaveable) continue; + /* Ignore options that are obsolete */ + if (item->b_removed) + continue; const char *psz_option_value = ptr + 1; switch (CONFIG_CLASS(item->i_type)) _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits