[vlc-commits] mux: ts: warn with reject reason

Francois Cartegnie git at videolan.org
Thu Jun 26 22:03:54 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jun 25 16:56:44 2014 +0200| [c0e66839b1a3f2d889badbfd2ca20b453d9c8ab8] | committer: Francois Cartegnie

mux: ts: warn with reject reason

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

 modules/mux/mpeg/ts.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index 6d58b58..e3324bc 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -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;
     }



More information about the vlc-commits mailing list