[vlc-commits] libvlc: hide "extractor-flatten" option

Thomas Guillem git at videolan.org
Thu Oct 12 17:21:48 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Oct 12 17:14:35 2017 +0200| [aea0b966eac77f91f0fab8aceef880175255e1aa] | committer: Thomas Guillem

libvlc: hide "extractor-flatten" option

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

 src/libvlc-module.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 7e1d90be15..15939f4a19 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1138,11 +1138,6 @@ static const char *const psz_recursive_list_text[] = {
 #define SHOW_HIDDENFILES_LONGTEXT N_( \
         "Ignore files starting with '.'" )
 
-#define EXTRACTOR_FLATTEN_TEXT N_( \
-        "Flatten files listed by extractors (archive)")
-#define EXTRACTOR_FLATTEN_LONGTEXT N_( \
-        "The default behavior is to create one item per directory.")
-
 #define SD_TEXT N_( "Services discovery modules")
 #define SD_LONGTEXT N_( \
      "Specifies the services discovery modules to preload, separated by " \
@@ -2105,7 +2100,8 @@ vlc_module_begin ()
     add_bool( "show-hiddenfiles", false,
               SHOW_HIDDENFILES_TEXT, SHOW_HIDDENFILES_LONGTEXT, false )
     add_bool( "extractor-flatten", false,
-              EXTRACTOR_FLATTEN_TEXT, EXTRACTOR_FLATTEN_LONGTEXT, true );
+              "Flatten files listed by extractors (archive)", NULL, true )
+        change_volatile()
 
     set_subcategory( SUBCAT_PLAYLIST_SD )
     add_string( "services-discovery", "", SD_TEXT, SD_LONGTEXT, true )



More information about the vlc-commits mailing list