[vlc-commits] Mark plugin-path as obsolete

Rémi Denis-Courmont git at videolan.org
Sat Feb 12 10:06:29 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 12 11:06:17 2011 +0200| [229ff459933bd18e62a005a7f8dc3895417359da] | committer: Rémi Denis-Courmont

Mark plugin-path as obsolete

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=229ff459933bd18e62a005a7f8dc3895417359da
---

 NEWS                |    2 ++
 src/libvlc-module.c |    4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index bbaff5b..890e5fa 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ Important changes for packagers:
    its file systems and files content (except the Windows port). If this is
    not acceptable, pass --enable-non-utf8 to the configure script.
    Non-UTF-8 file systems support will be removed in future versions.
+ * The VLC plugins path can be overriden with the VLC_PLUGIN_PATH environment
+   variable. The --plugin-path command line option was removed.
  * The default tarballs are now .tar.xz
 
  * The NPAPI webplugin has moved to git://git.videolan.org/npapi-vlc.git
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 69cfad2..2abf118 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2069,9 +2069,7 @@ vlc_module_begin ()
     add_bool( "plugins-cache", true, PLUGINS_CACHE_TEXT,
               PLUGINS_CACHE_LONGTEXT, true )
         change_need_restart ()
-    add_directory( "plugin-path", NULL, PLUGIN_PATH_TEXT,
-                   PLUGIN_PATH_LONGTEXT, true )
-        change_need_restart ()
+    add_obsolete_string( "plugin-path" )
     add_directory( "data-path", NULL, DATA_PATH_TEXT,
                    DATA_PATH_LONGTEXT, true )
         change_need_restart ()



More information about the vlc-commits mailing list