Commit 73ec58f6 authored by Sam Hocevar's avatar Sam Hocevar

* ./plugins/mad/mad_libmad.c: changed error messages to warning/debug.

parent d1adb68e
...@@ -48,12 +48,12 @@ enum mad_flow libmad_input(void *data, struct mad_stream *p_libmad_stream) ...@@ -48,12 +48,12 @@ enum mad_flow libmad_input(void *data, struct mad_stream *p_libmad_stream)
unsigned char *ReadStart; unsigned char *ReadStart;
if ( p_mad_adec->p_fifo->b_die == 1 ) { if ( p_mad_adec->p_fifo->b_die == 1 ) {
msg_Err( p_mad_adec->p_fifo, "libmad_input stopping libmad decoder" ); msg_Dbg( p_mad_adec->p_fifo, "libmad_input stopping libmad decoder" );
return MAD_FLOW_STOP; return MAD_FLOW_STOP;
} }
if ( p_mad_adec->p_fifo->b_error == 1 ) { if ( p_mad_adec->p_fifo->b_error == 1 ) {
msg_Err( p_mad_adec->p_fifo, "libmad_input ignoring current audio frame" ); msg_Warn( p_mad_adec->p_fifo, "libmad_input ignoring current audio frame" );
return MAD_FLOW_IGNORE; return MAD_FLOW_IGNORE;
} }
...@@ -125,7 +125,7 @@ enum mad_flow libmad_input(void *data, struct mad_stream *p_libmad_stream) ...@@ -125,7 +125,7 @@ enum mad_flow libmad_input(void *data, struct mad_stream *p_libmad_stream)
if ( p_mad_adec->p_fifo->b_error == 1 ) if ( p_mad_adec->p_fifo->b_error == 1 )
{ {
msg_Err( p_mad_adec->p_fifo, "libmad_input ignoring current audio frame" ); msg_Warn( p_mad_adec->p_fifo, "libmad_input ignoring current audio frame" );
return MAD_FLOW_IGNORE; return MAD_FLOW_IGNORE;
} }
......
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