From d60c2bd25a9776ba55703f79c2d8c03d965531be Mon Sep 17 00:00:00 2001 From: jstebbins Date: Mon, 5 Jan 2015 20:58:26 +0000 Subject: [PATCH] libhb: fix job configuration when qsv removes all filters git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6688 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/work.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libhb/work.c b/libhb/work.c index 72d4d294a..39f0dd3ac 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -901,6 +901,15 @@ static void do_job(hb_job_t *job) job->vrate = init.vrate; job->cfr = init.cfr; } + else + { + job->width = title->geometry.width; + job->height = title->geometry.height; + job->par = title->geometry.par; + memset(job->crop, 0, sizeof(int[4])); + job->vrate = title->vrate; + job->cfr = 0; + } /* While x264 is smart enough to reduce fractions on its own, libavcodec * needs some help with the math, so lose superfluous factors. */ -- 2.40.0