From fd2848053fca0691ab5985696b44ddb629ece5e6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 22 Jan 2002 15:54:44 +0000 Subject: [PATCH] minor bugfix in the -v output Originally committed as revision 4305 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/swscale.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/postproc/swscale.c b/postproc/swscale.c index 3fcfe7e613..07cacfab01 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -1284,8 +1284,12 @@ SwsContext *getSwsContext(int srcW, int srcH, int srcFormat, int dstW, int dstH, 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); }