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

Francois Cartegnie git at videolan.org
Sun Jun 29 23:26:09 CEST 2014


vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jun 25 16:56:44 2014 +0200| [3df2369d0048ef353bf3be64c04d410d5d2fe840] | committer: Jean-Baptiste Kempf

mux: ts: warn with reject reason

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

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

 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