summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-12-16 22:37:59 +0000
committerjstebbins <[email protected]>2014-12-16 22:37:59 +0000
commitcb6a52dcf9b33810272773fa02b457e3a4c8b7f0 (patch)
treed16ef6545aa9ce0ef0c1d51bf82de28e84e12993 /libhb/work.c
parentf56efd7b52c89da8cac55b4d4a187f2c87fdfee6 (diff)
json: fix building with qsv enabled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6603 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 2860233c6..7b135c85a 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -769,8 +769,8 @@ static void do_job(hb_job_t *job)
int num_cpu_filters = 0;
hb_filter_object_t *filter;
// default values for VPP filter
- vpp_settings[0] = job->title->width;
- vpp_settings[1] = job->title->height;
+ vpp_settings[0] = job->title->geometry.width;
+ vpp_settings[1] = job->title->geometry.height;
vpp_settings[2] = job->title->crop[0];
vpp_settings[3] = job->title->crop[1];
vpp_settings[4] = job->title->crop[2];
@@ -842,8 +842,8 @@ static void do_job(hb_job_t *job)
filter = hb_filter_init(HB_FILTER_QSV_POST);
hb_add_filter(job, filter, NULL);
}
- if (vpp_settings[0] != job->title->width ||
- vpp_settings[1] != job->title->height ||
+ if (vpp_settings[0] != job->title->geometry.width ||
+ vpp_settings[1] != job->title->geometry.height ||
vpp_settings[2] >= 1 /* crop */ ||
vpp_settings[3] >= 1 /* crop */ ||
vpp_settings[4] >= 1 /* crop */ ||