summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-05-31 15:30:20 +0000
committerjstebbins <[email protected]>2013-05-31 15:30:20 +0000
commitb6f1cc3f42342d6b99c4b2cc8a71e71d90031156 (patch)
treeed22d9d726bf52d96833d103c4ea210cca3bb459
parentdf12336a42e90e27626d41b7659c31082e4ed65b (diff)
libhb: fix problem with logging of crop/scale settings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5535 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/work.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 6fece5167..ceab14b1f 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -665,8 +665,8 @@ static void do_job(hb_job_t *job)
init.job = job;
init.pix_fmt = AV_PIX_FMT_YUV420P;
- init.width = title->width - (title->crop[2] + title->crop[3]);
- init.height = title->height - (title->crop[0] + title->crop[1]);
+ init.width = title->width;
+ init.height = title->height;
init.par_width = job->anamorphic.par_width;
init.par_height = job->anamorphic.par_height;
memcpy(init.crop, title->crop, sizeof(int[4]));