Commit a4ad7dbe authored by Antoine Cellerier's avatar Antoine Cellerier

Don't send failure messages when probing filter. (It unfortunately seems...

Don't send failure messages when probing filter. (It unfortunately seems impossible to check if a filter is being probed or asked for explicitly)
parent f71d15de
......@@ -359,15 +359,15 @@ static int OpenFilter( vlc_object_t *p_this )
if( aout_FormatNbChannels( &(p_filter->fmt_in.audio) ) == 1 )
{
msg_Dbg( p_filter, "filter discarded (incompatible format)" );
/*msg_Dbg( p_filter, "filter discarded (incompatible format)" );*/
return VLC_EGENERIC;
}
if( (p_filter->fmt_in.i_codec != AOUT_FMT_S16_NE) ||
(p_filter->fmt_out.i_codec != AOUT_FMT_S16_NE) )
{
msg_Err( p_this, "filter discarded (invalid format)" );
return -1;
/*msg_Err( p_this, "filter discarded (invalid format)" );*/
return VLC_EGENERIC;
}
if( (p_filter->fmt_in.audio.i_format != p_filter->fmt_out.audio.i_format) &&
......@@ -377,7 +377,7 @@ static int OpenFilter( vlc_object_t *p_this )
(p_filter->fmt_in.audio.i_bitspersample !=
p_filter->fmt_out.audio.i_bitspersample))
{
msg_Err( p_this, "couldn't load mono filter" );
/*msg_Err( p_this, "couldn't load mono filter" );*/
return VLC_EGENERIC;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment