]> granicus.if.org Git - handbrake/commitdiff
libhb: re-enable SWS_FULL_CHR_H_INT and SWS_FULL_CHR_H_INP swscale flags to improve...
authorDamiano Galassi <damiog@gmail.com>
Fri, 11 Nov 2016 19:18:51 +0000 (20:18 +0100)
committerDamiano Galassi <damiog@gmail.com>
Fri, 11 Nov 2016 19:18:51 +0000 (20:18 +0100)
libhb/hb.c

index cbca91b4dca885b1cf8bb4d12f30f0d28863fdde..dfe41c113cfa61c6a46295bb655d660da077a012 100644 (file)
@@ -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);