[MPlayer-cvslog] r28128 - trunk/loader/dmo/dmo.c
diego
subversion at mplayerhq.hu
Thu Dec 11 22:29:01 CET 2008
Author: diego
Date: Thu Dec 11 22:29:01 2008
New Revision: 28128
Log:
Change some printf calls to 'Debug printf' so as not to pollute stdout.
based on a patch by Zhou Zongyi, zhouzongyi pset.suntec net
Modified:
trunk/loader/dmo/dmo.c
Modified: trunk/loader/dmo/dmo.c
==============================================================================
--- trunk/loader/dmo/dmo.c (original)
+++ trunk/loader/dmo/dmo.c Thu Dec 11 22:29:01 2008
@@ -117,9 +117,9 @@ DMO_Filter* DMO_FilterCreate(const char*
//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*
/* 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*
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;
}
More information about the MPlayer-cvslog
mailing list