]> git.sesse.net Git - vlc/commitdiff
* modules/stream_out/transcode.c: a bit more useful debug message.
authorGildas Bazin <gbazin@videolan.org>
Wed, 22 Sep 2004 13:37:55 +0000 (13:37 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 22 Sep 2004 13:37:55 +0000 (13:37 +0000)
modules/stream_out/transcode.c

index 4ebe9272c1dcef5de46dfbe0351ef118be6c0f6e..15c3d19ed2696e28ace56bfa205483a08990a29f 100644 (file)
@@ -950,7 +950,9 @@ static int transcode_audio_new( sout_stream_t *p_stream,
         if( id->pp_filter[0]->p_module ) id->i_filter++;
         else
         {
-            msg_Dbg( p_stream, "no audio filter found" );
+            msg_Dbg( p_stream, "no audio filter found (%4.4s->%4.4s)",
+                     (char *)&id->pp_filter[0]->fmt_in,
+                     (char *)&id->pp_filter[0]->fmt_out );
             vlc_object_detach( id->pp_filter[0] );
             vlc_object_destroy( id->pp_filter[0] );
             module_Unneed( id->p_decoder, id->p_decoder->p_module );
@@ -981,7 +983,9 @@ static int transcode_audio_new( sout_stream_t *p_stream,
                 id->pp_filter[1]->fmt_out.i_codec !=
                   id->p_encoder->fmt_in.i_codec )
             {
-                msg_Dbg( p_stream, "no audio filter found" );
+                msg_Dbg( p_stream, "no audio filter found (%4.4s->%4.4s)",
+                         (char *)&id->pp_filter[1]->fmt_in,
+                         (char *)&id->pp_filter[1]->fmt_out );
                 module_Unneed( id->pp_filter[0], id->pp_filter[0]->p_module );
                 vlc_object_detach( id->pp_filter[0] );
                 vlc_object_destroy( id->pp_filter[0] );