#include "fs.h"
#include <vlc_plugin.h>
-#define CACHING_TEXT N_("Caching value (ms)")
-#define CACHING_LONGTEXT N_( \
- "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." )
-
#define RECURSIVE_TEXT N_("Subdirectory behavior")
#define RECURSIVE_LONGTEXT N_( \
"Select whether subdirectories must be expanded.\n" \
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", "fd", "stream" )
- set_callbacks( Open, Close )
+ set_callbacks( FileOpen, FileClose )
add_submodule()
- set_shortname( N_("Directory" ) )
- set_description( N_("Directory input") )
+ set_section( N_("Directory" ), NULL )
set_capability( "access", 55 )
add_string( "recursive", "expand" , RECURSIVE_TEXT,
RECURSIVE_LONGTEXT, false )