diff options
author | Ramiro Polla | 2010-09-26 17:06:32 +0000 |
---|---|---|
committer | Ramiro Polla | 2010-09-26 17:06:32 +0000 |
commit | f4203ff3d91deb05bab7625b193d1d98f7349964 (patch) | |
tree | b5698442cf3e3527e189452174d3a7b8379d2f2a /libswscale | |
parent | 66772498891c783951e45dcdfc81dbdadacd1f75 (diff) |
swscale: use full chroma input for point scaler
Originally committed as revision 32360 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index e9400f8b02..dfb4806416 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -831,7 +831,7 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, && 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) { |