From 5ed346b8eba0333f83ade4cea37378e09f5d0eb2 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sat, 27 Oct 2012 17:42:00 +0000 Subject: Fix initialization of hb_job_t.pfr_vrate(_base). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5037 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/work.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libhb/work.c') diff --git a/libhb/work.c b/libhb/work.c index 858156f45..277ebf033 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -700,6 +700,8 @@ static void do_job( hb_job_t * job ) memcpy(init.crop, title->crop, sizeof(int[4])); init.vrate_base = title->rate_base; init.vrate = title->rate; + init.pfr_vrate_base = job->pfr_vrate_base; + init.pfr_vrate = job->pfr_vrate; init.cfr = 0; for( i = 0; i < hb_list_count( job->list_filter ); ) { @@ -721,6 +723,8 @@ static void do_job( hb_job_t * job ) memcpy(title->crop, init.crop, sizeof(int[4])); job->vrate_base = init.vrate_base; job->vrate = init.vrate; + job->pfr_vrate_base = init.pfr_vrate_base; + job->pfr_vrate = init.pfr_vrate; job->cfr = init.cfr; } -- cgit v1.2.3