summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/common.h2
-rw-r--r--libhb/vfr.c2
-rw-r--r--libhb/work.c4
3 files changed, 8 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 77898cef3..f7cc6dfef 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -877,6 +877,8 @@ typedef struct hb_filter_init_s
int crop[4];
int vrate_base;
int vrate;
+ int pfr_vrate_base;
+ int pfr_vrate;
int cfr;
} hb_filter_init_t;
diff --git a/libhb/vfr.c b/libhb/vfr.c
index 8e50d5b89..b52d06a0c 100644
--- a/libhb/vfr.c
+++ b/libhb/vfr.c
@@ -355,6 +355,8 @@ static int hb_vfr_init( hb_filter_object_t * filter,
init->vrate = pv->vrate;
init->vrate_base = pv->vrate_base;
}
+ init->pfr_vrate = pv->vrate;
+ init->pfr_vrate_base = pv->vrate_base;
}
else
{
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;
}