# HG changeset patch # User michael # Date 1237679942 0 # Node ID 52f5616d6abf89b15a5bd96874138983610b1a7a # Parent d50adcfcf99c26893273f96dace11cc9873eb808 Enable unscaled packed422 -> planar 420 converters by default as the imgconvert inherited quality issues should be fixed. diff -r d50adcfcf99c -r 52f5616d6abf libswscale/swscale.c --- a/libswscale/swscale.c Sat Mar 21 23:52:34 2009 +0000 +++ b/libswscale/swscale.c Sat Mar 21 23:59:02 2009 +0000 @@ -2575,12 +2575,11 @@ else if (dstFormat == PIX_FMT_UYVY422) c->swScale= PlanarToUyvyWrapper; } - - if(srcFormat == PIX_FMT_YUYV422 && dstFormat == PIX_FMT_YUV420P) - c->swScale= YUYV2YUV420Wrapper; - if(srcFormat == PIX_FMT_UYVY422 && dstFormat == PIX_FMT_YUV420P) - c->swScale= UYVY2YUV420Wrapper; } + if(srcFormat == PIX_FMT_YUYV422 && dstFormat == PIX_FMT_YUV420P) + c->swScale= YUYV2YUV420Wrapper; + if(srcFormat == PIX_FMT_UYVY422 && dstFormat == PIX_FMT_YUV420P) + c->swScale= UYVY2YUV420Wrapper; if(srcFormat == PIX_FMT_YUYV422 && dstFormat == PIX_FMT_YUV422P) c->swScale= YUYV2YUV422Wrapper; if(srcFormat == PIX_FMT_UYVY422 && dstFormat == PIX_FMT_YUV422P)