From f7b7beaa81e6dd1a9f40fdf3b4674fe9538fb912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Mon, 19 Aug 2013 13:40:39 +0200 Subject: [PATCH] swscale: make auto_dither resolve to bayer by default --- libswscale/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libswscale/utils.c b/libswscale/utils.c index 4e31824..97a9234 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1197,6 +1197,8 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter, if (c->dither == SWS_DITHER_AUTO) { if (flags & SWS_ERROR_DIFFUSION) c->dither = SWS_DITHER_ED; + else + c->dither = SWS_DITHER_BAYER; } if(dstFormat == AV_PIX_FMT_BGR4_BYTE || -- 1.7.10.4