Commit 3df2369d authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

mux: ts: warn with reject reason

(cherry picked from commit c0e66839b1a3f2d889badbfd2ca20b453d9c8ab8)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a6bd710b
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment