summaryrefslogtreecommitdiffstats
path: root/libhb/vfr.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-03-15 11:12:38 -0600
committerJohn Stebbins <[email protected]>2019-04-08 07:44:09 -0600
commit248c880fc86ee07d23d62135e002940f16364eb6 (patch)
tree7d0e2fa275cf8acf9cf678af457a1e93bb0afc1b /libhb/vfr.c
parent80aa72096148c8bd84e2abb677a57dcadfe03e1c (diff)
avfilter: simplify internal API to avfilter
Use this interface in decavcodec. Remove cropscale.c and use avfilter for crop and scale. Improve log output of filters that are aliases for avfilter.
Diffstat (limited to 'libhb/vfr.c')
-rw-r--r--libhb/vfr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/vfr.c b/libhb/vfr.c
index 19c5673a2..0629b90fa 100644
--- a/libhb/vfr.c
+++ b/libhb/vfr.c
@@ -445,7 +445,7 @@ static hb_filter_info_t * hb_vfr_info( hb_filter_object_t * filter )
info->human_readable_desc = malloc(128);
info->human_readable_desc[0] = 0;
- info->out.vrate = pv->input_vrate;
+ info->output.vrate = pv->input_vrate;
if (pv->cfr == 2)
{
// For PFR, we want the framerate based on the source's actual
@@ -456,14 +456,14 @@ static hb_filter_info_t * hb_vfr_info( hb_filter_object_t * filter )
{
// peak framerate is lower than the source framerate.
// so signal that the framerate will be the peak fps.
- info->out.vrate = pv->vrate;
+ info->output.vrate = pv->vrate;
}
}
else
{
- info->out.vrate = pv->vrate;
+ info->output.vrate = pv->vrate;
}
- info->out.cfr = pv->cfr;
+ info->output.cfr = pv->cfr;
if ( pv->cfr == 0 )
{
/* Ensure we're using "Same as source" FPS */