]> git.sesse.net Git - vlc/commitdiff
mux: ts: warn with reject reason
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 25 Jun 2014 14:56:44 +0000 (16:56 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 26 Jun 2014 19:53:17 +0000 (21:53 +0200)
modules/mux/mpeg/ts.c

index 6d58b584b308db855130578c2d0d1b538d71792a..e3324bcf2b06b29c0abeeb414e1bfbea26b3e692 100644 (file)
@@ -995,6 +995,8 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
 
     if (p_stream->i_stream_type == -1)
     {
+        msg_Warn( p_mux, "rejecting stream with unsupported codec %4.4s",
+                  (char*)&p_stream->i_codec );
         free( p_stream );
         return VLC_EGENERIC;
     }