Commit 2d426e9f authored by Rafaël Carré's avatar Rafaël Carré

TS mux: move debug until after the stream is opened

parent b8774b3c
...@@ -942,9 +942,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) ...@@ -942,9 +942,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
p_stream->i_codec = p_input->p_fmt->i_codec; p_stream->i_codec = p_input->p_fmt->i_codec;
msg_Dbg( p_mux, "adding input codec=%4.4s pid=%d",
(char*)&p_stream->i_codec, p_stream->i_pid );
p_stream->i_stream_type = -1; p_stream->i_stream_type = -1;
switch( p_input->p_fmt->i_codec ) switch( p_input->p_fmt->i_codec )
{ {
...@@ -1056,6 +1053,9 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) ...@@ -1056,6 +1053,9 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
return VLC_ENOMEM; return VLC_ENOMEM;
} }
msg_Dbg( p_mux, "adding input codec=%4.4s pid=%d",
(char*)&p_stream->i_codec, p_stream->i_pid );
for (int i = 0; i < p_stream->i_langs; i++) { for (int i = 0; i < p_stream->i_langs; i++) {
char *lang = (i == 0) char *lang = (i == 0)
? p_input->p_fmt->psz_language ? p_input->p_fmt->psz_language
......
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