From 229ff459933bd18e62a005a7f8dc3895417359da Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 12 Feb 2011 11:06:17 +0200 Subject: [PATCH] Mark plugin-path as obsolete --- NEWS | 2 ++ src/libvlc-module.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index bbaff5bdd9..890e5facbf 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 69cfad2c12..2abf118b2a 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 () -- 2.39.2