[vlc-commits] AVI: better debug message, notably in extended case

Jean-Baptiste Kempf git at videolan.org
Sun May 15 15:33:30 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 15 15:31:27 2011 +0200| [dacabfca3e9e8df3e06edf321994eecf32648787] | committer: Jean-Baptiste Kempf

AVI: better debug message, notably in extended case

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dacabfca3e9e8df3e06edf321994eecf32648787
---

 modules/demux/avi/avi.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 03b0fe2..4a1d491 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -443,8 +443,9 @@ static int Open( vlc_object_t * p_this )
                 fmt.b_packetized            = !tk->i_blocksize;
 
                 msg_Dbg( p_demux,
-                    "stream[%d] audio(0x%x) %d channels %dHz %dbits",
-                    i, p_auds->p_wf->wFormatTag, p_auds->p_wf->nChannels,
+                    "stream[%d] audio(0x%x - %s) %d channels %dHz %dbits",
+                    i, p_auds->p_wf->wFormatTag,vlc_fourcc_GetDescription(AUDIO_ES,tk->i_codec),
+                    p_auds->p_wf->nChannels,
                     p_auds->p_wf->nSamplesPerSec,
                     p_auds->p_wf->wBitsPerSample );
 



More information about the vlc-commits mailing list