mirror of
https://github.com/mpv-player/mpv
synced 2025-03-09 23:58:06 +00:00
print list of supported output colorspaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8431 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0d44edf9a9
commit
5be44dbe04
@ -327,6 +327,15 @@ if(!codec_inited){
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user