changeset 8430:e3804a802aac

print list of supported output colorspaces
author arpi
date Wed, 11 Dec 2002 21:39:05 +0000
parents e11a8f21d738
children e0a26ef29fc3
files libmpcodecs/vd_qtvideo.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_qtvideo.c	Wed Dec 11 21:31:15 2002 +0000
+++ b/libmpcodecs/vd_qtvideo.c	Wed Dec 11 21:39:05 2002 +0000
@@ -327,6 +327,15 @@
   
     cres=ImageCodecPreDecompress(ci,&decpar);
     printf("ImageCodecPreDecompress cres=0x%X\n",cres);
+    
+    if(decpar.wantedDestinationPixelTypes)
+    { OSType *p=*(decpar.wantedDestinationPixelTypes);
+      if(p) while(*p){
+          printf("supported csp: 0x%08X %.4s\n",*p,p);
+	  ++p;
+      }
+    }
+    
 
 //    decpar.conditionFlags=0x10FFF; // first
 //    decpar.preferredOffscreenPixelSize=17207;