diff options
-rw-r--r-- | libhb/sync.c | 2 | ||||
-rw-r--r-- | libhb/work.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index d78398531..34b426f6d 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -512,7 +512,7 @@ static int SyncVideo( hb_work_object_t * w ) } int64_t duration; - if ( job->mux & HB_MUX_AVI ) + if ( job->mux & HB_MUX_AVI || job->title->rate_base != job->vrate_base ) { /* * The concept of variable frame rate video was a bit too advanced diff --git a/libhb/work.c b/libhb/work.c index 6efe796db..503403edd 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -165,6 +165,8 @@ static void do_job( hb_job_t * job, int cpu_count ) if ( job->vfr ) { + job->vrate_base = title->rate_base; + int detelecine_present = 0; if ( job->filters ) { @@ -209,7 +211,7 @@ static void do_job( hb_job_t * job, int cpu_count ) if( job->vfr) { - hb_log( " + video frame rate: variable (detected %.3f fps)", (float) job->vrate / + hb_log( " + video frame rate: %.3f fps -> variable fps", (float) job->vrate / (float) job->vrate_base ); } else |