[vlc-commits] core: set plugins-cache and plugins-scan options to volatile
Lyndon Brown
git at videolan.org
Sun Feb 24 11:09:14 CET 2019
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Thu Feb 8 05:50:53 2018 +0000| [23422e845a08d7d34d404c30ec3f1625a7f8c8de] | committer: Jean-Baptiste Kempf
core: set plugins-cache and plugins-scan options to volatile
Having them saved in the saved settings file is pointless, the saved
settings file is loaded after plugin data is loaded, thus the saved
settings for these have no effect.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=23422e845a08d7d34d404c30ec3f1625a7f8c8de
---
src/libvlc-module.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 360a3b00c2..2465c8c3d7 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2054,8 +2054,10 @@ vlc_module_begin ()
#ifdef HAVE_DYNAMIC_PLUGINS
add_bool( "plugins-cache", true, PLUGINS_CACHE_TEXT,
PLUGINS_CACHE_LONGTEXT, true )
+ change_volatile ()
add_bool( "plugins-scan", true, PLUGINS_SCAN_TEXT,
PLUGINS_SCAN_LONGTEXT, true )
+ change_volatile ()
add_obsolete_string( "plugin-path" ) /* since 2.0.0 */
#endif
add_obsolete_string( "data-path" ) /* since 2.1.0 */
More information about the vlc-commits
mailing list