From a33158d60d04f21ee10881ccc5cd295e1aae5bca Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 27 Mar 2006 17:25:41 +0000 Subject: Convert printfs in aviprint.c to mp_msg and give the information printing functions in this file a verbosity_level parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/dmo/DMO_AudioDecoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loader/dmo/DMO_AudioDecoder.c') diff --git a/loader/dmo/DMO_AudioDecoder.c b/loader/dmo/DMO_AudioDecoder.c index a1a0b66d22..8139c1a157 100644 --- a/loader/dmo/DMO_AudioDecoder.c +++ b/loader/dmo/DMO_AudioDecoder.c @@ -36,7 +36,7 @@ struct _DMO_AudioDecoder #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 @@ DMO_AudioDecoder * DMO_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX 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 ) { -- cgit v1.2.3