[vlc-commits] input: decoder: improve failed sout error message

Francois Cartegnie git at videolan.org
Mon Jan 8 12:10:54 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Jan  7 16:46:14 2018 +0100| [201bf4f8e6eed7d3b3b2aeab688e61419f6f7079] | committer: Francois Cartegnie

input: decoder: improve failed sout error message

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

 src/input/decoder.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index b94d6da169..0d3df97934 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -892,7 +892,8 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block )
 
             if( DecoderPlaySout( p_dec, p_sout_block ) == VLC_EGENERIC )
             {
-                msg_Err( p_dec, "cannot continue streaming due to errors" );
+                msg_Err( p_dec, "cannot continue streaming due to errors with codec %4.4s",
+                                (char *)&p_owner->fmt.i_codec );
 
                 p_owner->error = true;
 



More information about the vlc-commits mailing list