diff options
author | Rodeo <[email protected]> | 2013-05-22 20:16:20 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-05-22 20:16:20 +0000 |
commit | a9a2621f49f1e29aceda4d33f57c24c21fdebcf1 (patch) | |
tree | a92de46e41cf69f63b1f064a801d2177fab380a3 /libhb/common.h | |
parent | b4439911971a0801b944ad87aee08ea7f3bb8616 (diff) |
libhb: fix hb_vfr_info() and refactor hb_vfr_init() a bit.
Since SVN revision 5058, hb_vfr_init didn't have access to title->rate, rate_base - which are needed to set the input framerate for CFR/PFR. It was therefore printing the output framerate in both cases, regardless of the input framerate:
[22:13:04] + frame rate: 23.976 fps -> constant 30.000 fps
[22:13:04] + filters
[22:13:04] + Framerate Shaper (1:27000000:900000)
[22:13:04] + frame rate: 30.000 fps -> constant 30.000 fps
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5499 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libhb/common.h b/libhb/common.h index 8e7afb326..443127e9e 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -362,8 +362,6 @@ struct hb_job_s int vcodec; float vquality; int vbitrate; - int pfr_vrate; - int pfr_vrate_base; int vrate; int vrate_base; int cfr; @@ -971,8 +969,8 @@ typedef struct hb_filter_init_s int crop[4]; int vrate_base; int vrate; - int pfr_vrate_base; - int pfr_vrate; + int title_rate_base; + int title_rate; int cfr; } hb_filter_init_t; |