changeset 4304:329ecbb6309b

minor bugfix in the -v output
author michael
date Tue, 22 Jan 2002 15:54:44 +0000
parents a53d7ca1ed84
children 624c73ec1c54
files postproc/swscale.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/postproc/swscale.c	Tue Jan 22 12:00:15 2002 +0000
+++ b/postproc/swscale.c	Tue Jan 22 15:54:44 2002 +0000
@@ -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);
 	}