Mercurial > mplayer.hg
changeset 32274:c475ed274718
swscale: use full chroma input for point scaler
author | ramiro |
---|---|
date | Sun, 26 Sep 2010 17:06:32 +0000 |
parents | 96aa67fb9a63 |
children | 8c86a5423166 |
files | libswscale/utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/utils.c Sun Sep 26 16:24:36 2010 +0000 +++ b/libswscale/utils.c Sun Sep 26 17:06:32 2010 +0000 @@ -831,7 +831,7 @@ && srcFormat!=PIX_FMT_RGB8 && srcFormat!=PIX_FMT_BGR8 && srcFormat!=PIX_FMT_RGB4 && srcFormat!=PIX_FMT_BGR4 && srcFormat!=PIX_FMT_RGB4_BYTE && srcFormat!=PIX_FMT_BGR4_BYTE - && ((dstW>>c->chrDstHSubSample) <= (srcW>>1) || (flags&(SWS_FAST_BILINEAR|SWS_POINT)))) + && ((dstW>>c->chrDstHSubSample) <= (srcW>>1) || (flags&SWS_FAST_BILINEAR))) c->chrSrcHSubSample=1; if (param) {