diff options
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libhb/work.c b/libhb/work.c index 8aa920860..9010f1d3a 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -1363,10 +1363,6 @@ static void do_job(hb_job_t *job) memset(interjob, 0, sizeof(*interjob)); interjob->sequence_id = job->sequence_id; } - else if (job->pass_id == HB_PASS_ENCODE_2ND) - { - correct_framerate(interjob, job); - } job->list_work = hb_list_init(); w = hb_get_work(job->h, WORK_READER); @@ -1484,6 +1480,11 @@ static void do_job(hb_job_t *job) job->cfr = 0; } + if (job->pass_id == HB_PASS_ENCODE_2ND) + { + correct_framerate(interjob, job); + } + /* * The frame rate may affect the bitstream's time base, lose superfluous * factors for consistency (some encoders reduce fractions, some don't). |