vlc | branch: master | Rafaël Carré <[email protected]> | Thu Feb 9 22:58:22 2012 -0500| [2d426e9ffda8bf3bc4e55488035fcfd1bd793bfe] | committer: Rafaël Carré
TS mux: move debug until after the stream is opened > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d426e9ffda8bf3bc4e55488035fcfd1bd793bfe --- modules/mux/mpeg/ts.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c index 83cb031..bfe67be 100644 --- a/modules/mux/mpeg/ts.c +++ b/modules/mux/mpeg/ts.c @@ -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; - 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; switch( p_input->p_fmt->i_codec ) { @@ -1056,6 +1053,9 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) 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++) { char *lang = (i == 0) ? p_input->p_fmt->psz_language _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
