[vlc-devel] commit: Don't send failure messages when probing filter. ( It unfortunately seems impossible to check if a filter is being probed or asked for explicitly ) (Antoine Cellerier )
git version control
git at videolan.org
Sat Aug 23 19:04:56 CEST 2008
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sat Aug 23 19:07:19 2008 +0200| [a4ad7dbea607270f08e999ac0545aba7bd13aa51] | committer: Antoine Cellerier
Don't send failure messages when probing filter. (It unfortunately seems impossible to check if a filter is being probed or asked for explicitly)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4ad7dbea607270f08e999ac0545aba7bd13aa51
---
modules/audio_filter/channel_mixer/mono.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/audio_filter/channel_mixer/mono.c b/modules/audio_filter/channel_mixer/mono.c
index fbea2dd..e2c6c6b 100644
--- a/modules/audio_filter/channel_mixer/mono.c
+++ b/modules/audio_filter/channel_mixer/mono.c
@@ -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;
}
More information about the vlc-devel
mailing list