set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_DEMUX )
- add_bool( "mod-noisereduction", true, NULL, N_("Noise reduction"),
+ add_bool( "mod-noisereduction", true, N_("Noise reduction"),
NOISE_LONGTEXT, false )
- add_bool( "mod-reverb", false, NULL, N_("Reverb"),
+ add_bool( "mod-reverb", false, N_("Reverb"),
REVERB_LONGTEXT, false )
add_integer_with_range( "mod-reverb-level", 0, 0, 100, NULL,
N_("Reverberation level"), REVERB_LEVEL_LONGTEXT, true )
add_integer_with_range( "mod-reverb-delay", 40, 0, 1000, NULL,
N_("Reverberation delay"), REVERB_DELAY_LONGTEXT, true )
- add_bool( "mod-megabass", false, NULL, N_("Mega bass"),
+ add_bool( "mod-megabass", false, N_("Mega bass"),
MEGABASS_LONGTEXT, false )
add_integer_with_range( "mod-megabass-level", 0, 0, 100, NULL,
N_("Mega bass level"), MEGABASS_LEVEL_LONGTEXT, true )
add_integer_with_range( "mod-megabass-range", 10, 10, 100, NULL,
N_("Mega bass cutoff"), MEGABASS_RANGE_LONGTEXT, true )
- add_bool( "mod-surround", false, NULL, N_("Surround"), N_("Surround"),
+ add_bool( "mod-surround", false, N_("Surround"), N_("Surround"),
false )
add_integer_with_range( "mod-surround-level", 0, 0, 100, NULL,
N_("Surround level"), SURROUND_LEVEL_LONGTEXT, true )
/* We accept file based on extension match */
if( !p_demux->b_force )
{
- const char *psz_ext = strrchr( p_demux->psz_path, '.' );
+ if( !p_demux->psz_file )
+ return VLC_EGENERIC;
+ const char *psz_ext = strrchr( p_demux->psz_file, '.' );
int i;
if( !psz_ext )