[SCM] libav/experimental: minor bugfix in the -v output
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:30:53 UTC 2013
The following commit has been merged in the experimental branch:
commit fd2848053fca0691ab5985696b44ddb629ece5e6
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Tue Jan 22 15:54:44 2002 +0000
minor bugfix in the -v output
Originally committed as revision 4305 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
diff --git a/postproc/swscale.c b/postproc/swscale.c
index 3fcfe7e..07cacfa 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);
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list