From c0e66839b1a3f2d889badbfd2ca20b453d9c8ab8 Mon Sep 17 00:00:00 2001 From: Francois Cartegnie <fcvlcdev@free.fr> Date: Wed, 25 Jun 2014 16:56:44 +0200 Subject: [PATCH] mux: ts: warn with reject reason --- 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 6d58b584b3..e3324bcf2b 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; } -- 2.25.4