changeset 28094:1e6d3a382e7b

Change some printf calls to 'Debug printf' so as not to pollute stdout. based on a patch by Zhou Zongyi, zhouzongyi pset.suntec net
author diego
date Thu, 11 Dec 2008 21:29:01 +0000
parents a15dadb6305a
children 7448d949d6b4
files loader/dmo/dmo.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dmo/dmo.c	Wed Dec 10 21:15:55 2008 +0000
+++ b/loader/dmo/dmo.c	Thu Dec 11 21:29:01 2008 +0000
@@ -117,9 +117,9 @@
             //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 @@
 /*          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 @@
 
 	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;
     }