mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
minor bugfix in the -v output
Originally committed as revision 4305 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
parent
5521b193d6
commit
fd2848053f
@ -1284,8 +1284,12 @@ SwsContext *getSwsContext(int srcW, int srcH, int srcFormat, int dstW, int dstH,
|
|||||||
if(dstFormat==IMGFMT_BGR24)
|
if(dstFormat==IMGFMT_BGR24)
|
||||||
printf("SwScaler: using %s YV12->BGR24 Converter\n",
|
printf("SwScaler: using %s YV12->BGR24 Converter\n",
|
||||||
cpuCaps.hasMMX2 ? "MMX2" : (cpuCaps.hasMMX ? "MMX" : "C"));
|
cpuCaps.hasMMX2 ? "MMX2" : (cpuCaps.hasMMX ? "MMX" : "C"));
|
||||||
else
|
else if(dstFormat==IMGFMT_BGR32)
|
||||||
printf("SwScaler: using %s YV12->BGR Converter\n", cpuCaps.hasMMX ? "MMX" : "C");//FIXME print format
|
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);
|
printf("SwScaler: %dx%d -> %dx%d\n", srcW, srcH, dstW, dstH);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user