From 0323f14dce4eb81fc42ae7ae78c6302bc5492fd3 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Wed, 23 Nov 2005 15:33:01 +0000 Subject: [PATCH] * modules/stream_out/switcher.c: More logging. --- modules/stream_out/switcher.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/stream_out/switcher.c b/modules/stream_out/switcher.c index 31d4e63c85..c152245c01 100644 --- a/modules/stream_out/switcher.c +++ b/modules/stream_out/switcher.c @@ -320,8 +320,8 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt ) id->b_switcher_video = VLC_TRUE; p_fmt->i_codec = VLC_FOURCC('m', 'p', 'g', 'v'); msg_Dbg( p_stream, - "creating video switcher for fcc=`%4.4s'", - (char*)&p_fmt->i_codec ); + "creating video switcher for fcc=`%4.4s' cmd:%d", + (char*)&p_fmt->i_codec, p_sys->i_cmd ); } else if ( p_fmt->i_cat == AUDIO_ES && p_fmt->i_codec == VLC_FOURCC('m', 'p', 'g', 'a') @@ -332,8 +332,8 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt ) id->b_switcher_audio = VLC_TRUE; msg_Dbg( p_stream, - "creating audio switcher for fcc=`%4.4s'", - (char*)&p_fmt->i_codec ); + "creating audio switcher for fcc=`%4.4s' cmd:%d", + (char*)&p_fmt->i_codec, p_sys->i_cmd ); /* Allocate the encoder right now. */ if( i_ff_codec == 0 ) @@ -663,6 +663,9 @@ static void NetCommand( sout_stream_t *p_stream ) } p_sys->i_cmd = i_cmd; + + msg_Dbg( p_stream, "new command: %d old:%d", p_sys->i_cmd, + p_sys->i_old_cmd ); } } -- 2.39.2