[vlc-commits] mpg123: lower the verbosity for MPG123_NEED_MORE

Ludovic Fauvet git at videolan.org
Wed Oct 14 18:24:53 CEST 2015


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Oct 14 18:23:16 2015 +0200| [c3112fccef3d14f18520be0b32abe1c3aa6606a1] | committer: Ludovic Fauvet

mpg123: lower the verbosity for MPG123_NEED_MORE

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c3112fccef3d14f18520be0b32abe1c3aa6606a1
---

 modules/codec/mpg123.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/codec/mpg123.c b/modules/codec/mpg123.c
index 3a5d07a..35096b1 100644
--- a/modules/codec/mpg123.c
+++ b/modules/codec/mpg123.c
@@ -188,7 +188,9 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
     i_err = mpg123_decode_frame( p_sys->p_handle, NULL, NULL, NULL );
     if( i_err != MPG123_OK )
     {
-        if( i_err != MPG123_NEW_FORMAT )
+        if( i_err == MPG123_NEED_MORE )
+            msg_Dbg( p_dec, "mpg123_decode_frame: %s", mpg123_plain_strerror( i_err ) );
+        else if( i_err != MPG123_NEW_FORMAT )
             msg_Err( p_dec, "mpg123_decode_frame error: %s", mpg123_plain_strerror( i_err ) );
         block_Release( p_out );
         goto error;



More information about the vlc-commits mailing list