- "Caching value for files. This " \
- "value should be set in milliseconds." )
-#define CAT_TEXT N_("Concatenate with additional files")
-#define CAT_LONGTEXT N_( \
- "Play split files as if they were part of a unique file. " \
- "You need to specify a comma-separated list of files." )
-
-vlc_module_begin();
- set_description( _("File input") );
- set_shortname( _("File") );
- set_category( CAT_INPUT );
- set_subcategory( SUBCAT_INPUT_ACCESS );
- add_integer( "file-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
- add_deprecated( "file-cat", VLC_TRUE );
- set_capability( "access2", 50 );
- add_shortcut( "file" );
- add_shortcut( "stream" );
- add_shortcut( "kfir" );
- set_callbacks( Open, Close );
-vlc_module_end();
+ "Caching value for files, in milliseconds." )
+
+#define NETWORK_CACHING_TEXT N_("Extra network caching value (ms)")
+#define NETWORK_CACHING_LONGTEXT N_( \
+ "Supplementary caching value for remote files, in milliseconds." )
+
+vlc_module_begin ()
+ set_description( N_("File input") )
+ set_shortname( N_("File") )
+ set_category( CAT_INPUT )
+ set_subcategory( SUBCAT_INPUT_ACCESS )
+ add_integer( "file-caching", DEFAULT_PTS_DELAY / 1000, NULL,
+ CACHING_TEXT, CACHING_LONGTEXT, true )
+ change_safe()
+ add_integer( "network-caching", 3 * DEFAULT_PTS_DELAY / 1000, NULL,
+ 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" )
+ set_callbacks( Open, Close )
+vlc_module_end ()