From: Damiano Galassi <damiog@gmail.com> Date: Fri, 11 Nov 2016 19:18:51 +0000 (+0100) Subject: libhb: re-enable SWS_FULL_CHR_H_INT and SWS_FULL_CHR_H_INP swscale flags to improve... X-Git-Tag: 1.0.0~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4acece393cf1f3bcdb0dc40668c67c173ed8ffe0;p=handbrake libhb: re-enable SWS_FULL_CHR_H_INT and SWS_FULL_CHR_H_INP swscale flags to improve yuv->rgb conversion. --- diff --git a/libhb/hb.c b/libhb/hb.c index cbca91b4d..dfe41c113 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -242,9 +242,7 @@ hb_sws_get_context(int srcW, int srcH, enum AVPixelFormat srcFormat, srcRange = handle_jpeg(&srcFormat); dstRange = handle_jpeg(&dstFormat); - /* enable this when implemented in Libav flags |= SWS_FULL_CHR_H_INT | SWS_FULL_CHR_H_INP; - */ av_opt_set_int(ctx, "srcw", srcW, 0); av_opt_set_int(ctx, "srch", srcH, 0);