diff loader/dmo/DMO_AudioDecoder.c @ 17977:f70772d02eaa

Convert printfs in aviprint.c to mp_msg and give the information printing functions in this file a verbosity_level parameter.
author diego
date Mon, 27 Mar 2006 17:25:41 +0000
parents b0d1b415320c
children d026c9bb2938
line wrap: on
line diff
--- a/loader/dmo/DMO_AudioDecoder.c	Mon Mar 27 16:43:02 2006 +0000
+++ b/loader/dmo/DMO_AudioDecoder.c	Mon Mar 27 17:25:41 2006 +0000
@@ -36,7 +36,7 @@
 #define __MODULE__ "DirectShow audio decoder"
 
 typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
-extern void print_wave_header(WAVEFORMATEX *h);
+extern void print_wave_header(WAVEFORMATEX *h, int verbose_level);
 
 DMO_AudioDecoder * DMO_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf,int out_channels)
 //DMO_AudioDecoder * DMO_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf)
@@ -89,8 +89,8 @@
     this->m_sDestType.cbFormat=18; //pWF->cbSize;
     this->m_sDestType.pbFormat=this->m_sVhdr2;
 
-print_wave_header((WAVEFORMATEX *)this->m_sVhdr);
-print_wave_header((WAVEFORMATEX *)this->m_sVhdr2);
+print_wave_header((WAVEFORMATEX *)this->m_sVhdr,  MSGL_V);
+print_wave_header((WAVEFORMATEX *)this->m_sVhdr2, MSGL_V);
 
         this->m_pDMO_Filter = DMO_FilterCreate(dllname, guid, &this->m_sOurType, &this->m_sDestType);
 	if( !this->m_pDMO_Filter ) {