summaryrefslogtreecommitdiffstats
path: root/loader/dmo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-11 21:29:01 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-11 21:29:01 +0000
commit8af5e8b4971445bae0a2c50e5e939d93f8b71cdf (patch)
treeb98e0d604faab9c1aa3133df30092d82c3bd589d /loader/dmo
parent0de5659eb274a5852701e457061c7709468b1b14 (diff)
downloadmpv-8af5e8b4971445bae0a2c50e5e939d93f8b71cdf.tar.bz2
mpv-8af5e8b4971445bae0a2c50e5e939d93f8b71cdf.tar.xz
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
Diffstat (limited to 'loader/dmo')
-rw-r--r--loader/dmo/dmo.c12
1 files changed, 6 insertions, 6 deletions
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;
}