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

Francois Cartegnie git at videolan.org
Mon Jan 8 13:12:31 CET 2018


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Jan  7 16:46:14 2018 +0100| [5b3894be01399f763ddffe4509ca4a55cfc0b0d4] | committer: Jean-Baptiste Kempf

input: decoder: improve failed sout error message

(cherry picked from commit 201bf4f8e6eed7d3b3b2aeab688e61419f6f7079)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 98e80dd4f3..58bbe8e851 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -893,7 +893,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