[vlc-commits] core: set plugins-cache and plugins-scan options to volatile

jnqnfe@gmail.com git at videolan.org
Sun Feb 24 11:08:30 CET 2019


vlc | branch: master | jnqnfe at gmail.com <jnqnfe at gmail.com> | Thu Feb  8 05:50:53 2018 +0000| [c596ff20afd95484ab8a306819b3d9bc9ec9c048] | 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=c596ff20afd95484ab8a306819b3d9bc9ec9c048
---

 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