[Mplayer-cvslog] CVS: main/postproc swscale.c,1.58,1.59
Michael Niedermayer
michael at mplayer.dev.hu
Tue Jan 22 16:54:51 CET 2002
Update of /cvsroot/mplayer/main/postproc
In directory mplayer:/var/tmp.root/cvs-serv4217
Modified Files:
swscale.c
Log Message:
minor bugfix in the -v output
Index: swscale.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- swscale.c 21 Jan 2002 22:11:09 -0000 1.58
+++ swscale.c 22 Jan 2002 15:54:44 -0000 1.59
@@ -1284,8 +1284,12 @@
if(dstFormat==IMGFMT_BGR24)
printf("SwScaler: using %s YV12->BGR24 Converter\n",
cpuCaps.hasMMX2 ? "MMX2" : (cpuCaps.hasMMX ? "MMX" : "C"));
- else
- printf("SwScaler: using %s YV12->BGR Converter\n", cpuCaps.hasMMX ? "MMX" : "C");//FIXME print format
+ else if(dstFormat==IMGFMT_BGR32)
+ printf("SwScaler: using %s YV12->BGR32 Converter\n", cpuCaps.hasMMX ? "MMX" : "C");
+ else if(dstFormat==IMGFMT_BGR16)
+ printf("SwScaler: using %s YV12->BGR16 Converter\n", cpuCaps.hasMMX ? "MMX" : "C");
+ else if(dstFormat==IMGFMT_BGR15)
+ printf("SwScaler: using %s YV12->BGR15 Converter\n", cpuCaps.hasMMX ? "MMX" : "C");
printf("SwScaler: %dx%d -> %dx%d\n", srcW, srcH, dstW, dstH);
}
More information about the MPlayer-cvslog
mailing list