diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-27 17:25:41 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-27 17:25:41 +0000 |
commit | a33158d60d04f21ee10881ccc5cd295e1aae5bca (patch) | |
tree | 021a6f021ecf99a2deebe6d17cb1574dc97673a5 /loader | |
parent | e2c173be10fa87ef6df3049d80fcca80a2d1a174 (diff) | |
download | mpv-a33158d60d04f21ee10881ccc5cd295e1aae5bca.tar.bz2 mpv-a33158d60d04f21ee10881ccc5cd295e1aae5bca.tar.xz |
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
Diffstat (limited to 'loader')
-rw-r--r-- | loader/dmo/DMO_AudioDecoder.c | 6 | ||||
-rw-r--r-- | loader/dshow/DS_AudioDecoder.c | 4 |
2 files changed, 5 insertions, 5 deletions
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 ) { diff --git a/loader/dshow/DS_AudioDecoder.c b/loader/dshow/DS_AudioDecoder.c index b3a2021956..3b81d9c4e3 100644 --- a/loader/dshow/DS_AudioDecoder.c +++ b/loader/dshow/DS_AudioDecoder.c @@ -94,8 +94,8 @@ DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* this->m_sDestType.cbFormat=18; //pWF->cbSize; this->m_sDestType.pbFormat=this->m_sVhdr2; -//print_wave_header(this->m_sVhdr); -//print_wave_header(this->m_sVhdr2); +//print_wave_header(this->m_sVhdr, MSGL_V); +//print_wave_header(this->m_sVhdr2, MSGL_V); /*try*/ { |