diff options
author | superdump <[email protected]> | 2007-09-05 03:51:41 +0000 |
---|---|---|
committer | superdump <[email protected]> | 2007-09-05 03:51:41 +0000 |
commit | a963935e4d220ec9153573cef8f9f1b12654f0c3 (patch) | |
tree | 39e842caed17225d2530ab678745f6cd0275fe7b /libhb/render.c | |
parent | 8c6e8bf021c2ee2bc3278868c2c64b61efad0e92 (diff) |
- Add the accurate rounding flag for software scaling to avoid scaling artifacts that were especially noticable on flat colour or slight gradients.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@924 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/render.c')
-rw-r--r-- | libhb/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/render.c b/libhb/render.c index e8fe0aef2..5577c2f76 100644 --- a/libhb/render.c +++ b/libhb/render.c @@ -337,7 +337,7 @@ int renderInit( hb_work_object_t * w, hb_job_t * job ) title->height - (job->crop[0] + job->crop[1]), PIX_FMT_YUV420P, job->width, job->height, PIX_FMT_YUV420P, - SWS_LANCZOS, NULL, NULL, NULL); + SWS_LANCZOS|SWS_ACCURATE_RND, NULL, NULL, NULL); } /* Setup FIFO queue for subtitle cache */ |