From 8af5e8b4971445bae0a2c50e5e939d93f8b71cdf Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 11 Dec 2008 21:29:01 +0000 Subject: Change some printf calls to 'Debug printf' so as not to pollute stdout. based on a patch by Zhou Zongyi, zhouzongyi pset.suntec net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28128 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/dmo/dmo.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'loader') diff --git a/loader/dmo/dmo.c b/loader/dmo/dmo.c index 3c5c748caf..ee6ac27f3c 100644 --- a/loader/dmo/dmo.c +++ b/loader/dmo/dmo.c @@ -117,9 +117,9 @@ DMO_Filter* DMO_FilterCreate(const char* dllname, const GUID* id, //VIDEOINFOHEADER* vi; memset(&dmo, 0, sizeof(dmo)); i = This->m_pMedia->vt->GetOutputType(This->m_pMedia, 0, 2, &dmo); - printf("GetOutputType %x \n", i); - printf("DMO 0x%x (%.4s) 0x%x (%.4s)\n" - //printf("DMO 0x%x 0x%x\n" + Debug printf("GetOutputType %x \n", i); + Debug printf("DMO 0x%x (%.4s) 0x%x (%.4s)\n" + //Debug printf("DMO 0x%x 0x%x\n" ":: fixszsamp:%d tempcomp:%d sampsz:%ld\n" ":: formtype: 0x%x\n" ":: unk %p cbform: %ld pbform:%p\n", @@ -135,7 +135,7 @@ DMO_Filter* DMO_FilterCreate(const char* dllname, const GUID* id, /* vi = (VIDEOINFOHEADER*) dmo.pbFormat; vi = (VIDEOINFOHEADER*) out_fmt->pbFormat; for (i = 0; i < out_fmt->cbFormat; i++) - printf("BYTE %d %02x %02x\n", i, ((uint8_t*)dmo.pbFormat)[i], ((uint8_t*)out_fmt->pbFormat)[i]); + Debug printf("BYTE %d %02x %02x\n", i, ((uint8_t*)dmo.pbFormat)[i], ((uint8_t*)out_fmt->pbFormat)[i]); */ } @@ -148,11 +148,11 @@ DMO_Filter* DMO_FilterCreate(const char* dllname, const GUID* id, inputs = outputs = 0; hr = This->m_pMedia->vt->GetOutputSizeInfo(This->m_pMedia, 0, &inputs, &outputs); - printf("GetOutput r=0x%lx size:%ld align:%ld\n", hr, inputs, outputs); + Debug printf("GetOutput r=0x%lx size:%ld align:%ld\n", hr, inputs, outputs); // This->m_pMedia->vt->AllocateStreamingResources(This->m_pMedia); hr = This->m_pMedia->vt->GetStreamCount(This->m_pMedia, &inputs, &outputs); - printf("StreamCount r=0x%lx %ld %ld\n", hr, inputs, outputs); + Debug printf("StreamCount r=0x%lx %ld %ld\n", hr, inputs, outputs); break; } -- cgit v1.2.3