diff options
author | Damiano Galassi <[email protected]> | 2016-11-11 20:18:51 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-11-11 20:18:51 +0100 |
commit | 4acece393cf1f3bcdb0dc40668c67c173ed8ffe0 (patch) | |
tree | 8530d22c19f96b83178c6f192aae9723ff65ac22 /libhb | |
parent | 756fd60813d2aa75ca07c7bdeb08cf54ec4fb06f (diff) |
libhb: re-enable SWS_FULL_CHR_H_INT and SWS_FULL_CHR_H_INP swscale flags to improve yuv->rgb conversion.
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/hb.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |