[vlc-commits] Mark --data-path obsolete

Rémi Denis-Courmont git at videolan.org
Tue Mar 20 19:52:57 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 20 20:52:50 2012 +0200| [ecf985777000b5032bc702843acc2569aec4edfe] | committer: Rémi Denis-Courmont

Mark --data-path obsolete

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

 src/libvlc-module.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 3267737..59f8a41 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1168,10 +1168,6 @@ static const char *const ppsz_prefres[] = {
     "Additional path for VLC to look for its modules. You can add " \
     "several paths by concatenating them using \" PATH_SEP \" as separator")
 
-#define DATA_PATH_TEXT N_("Data search path")
-#define DATA_PATH_LONGTEXT N_( \
-    "Override the default data/share search path.")
-
 #define VLM_CONF_TEXT N_("VLM configuration file")
 #define VLM_CONF_LONGTEXT N_( \
     "Read a VLM configuration file as soon as VLM is started." )
@@ -2105,9 +2101,8 @@ vlc_module_begin ()
     set_section( N_("Plugins" ), NULL )
     add_bool( "plugins-cache", true, PLUGINS_CACHE_TEXT,
               PLUGINS_CACHE_LONGTEXT, true )
-    add_obsolete_string( "plugin-path" )
-    add_directory( "data-path", NULL, DATA_PATH_TEXT,
-                   DATA_PATH_LONGTEXT, true )
+    add_obsolete_string( "plugin-path" ) /* since 2.0.0 */
+    add_obsolete_string( "data-path" ) /* since 2.1.0 */
 
     set_section( N_("Performance options"), NULL )
 



More information about the vlc-commits mailing list