]> git.sesse.net Git - vlc/blobdiff - modules/access/fs.c
Fix a typo with the libtool flag -export-symbols-regex
[vlc] / modules / access / fs.c
index 30c855ae860eb228d94131c6108e9c0aae878c1e..64dfaf08cfcca22f4eb413f82146bb85f8129c61 100644 (file)
@@ -61,32 +61,30 @@ vlc_module_begin ()
     set_shortname( N_("File") )
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_ACCESS )
-    add_integer( "file-caching", DEFAULT_PTS_DELAY / 1000, NULL,
+    add_integer( "file-caching", DEFAULT_PTS_DELAY / 1000,
                  CACHING_TEXT, CACHING_LONGTEXT, true )
         change_safe()
-    add_integer( "network-caching", 3 * DEFAULT_PTS_DELAY / 1000, NULL,
+    add_integer( "network-caching", 3 * DEFAULT_PTS_DELAY / 1000,
                  NETWORK_CACHING_TEXT, NETWORK_CACHING_LONGTEXT, true )
         change_safe()
     add_obsolete_string( "file-cat" )
     set_capability( "access", 50 )
-    add_shortcut( "file" )
-    add_shortcut( "fd" )
-    add_shortcut( "stream" )
+    add_shortcut( "file", "fd", "stream" )
     set_callbacks( Open, Close )
 
     add_submodule()
     set_shortname( N_("Directory" ) )
     set_description( N_("Directory input") )
     set_capability( "access", 55 )
-    add_string( "recursive", "expand" , NULL, RECURSIVE_TEXT,
+    add_string( "recursive", "expand" , RECURSIVE_TEXT,
                 RECURSIVE_LONGTEXT, false )
       change_string_list( psz_recursive_list, psz_recursive_list_text, 0 )
     add_string( "ignore-filetypes", "m3u,db,nfo,ini,jpg,jpeg,ljpg,gif,png,pgm,pgmyuv,pbm,pam,tga,bmp,pnm,xpm,xcf,pcx,tif,tiff,lbm,sfv,txt,sub,idx,srt,cue,ssa",
-                NULL, IGNORE_TEXT, IGNORE_LONGTEXT, false )
+                IGNORE_TEXT, IGNORE_LONGTEXT, false )
 #ifndef HAVE_FDOPENDIR
-    add_shortcut( "file" )
+    add_shortcut( "file", "directory", "dir" )
+#else
+    add_shortcut( "directory", "dir" )
 #endif
-    add_shortcut( "directory" )
-    add_shortcut( "dir" )
     set_callbacks( DirOpen, DirClose )
 vlc_module_end ()