summaryrefslogtreecommitdiffstats
path: root/libhb/muxcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/muxcommon.c')
-rw-r--r--libhb/muxcommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxcommon.c b/libhb/muxcommon.c
index 98c67acbe..e3cdab1b0 100644
--- a/libhb/muxcommon.c
+++ b/libhb/muxcommon.c
@@ -608,7 +608,7 @@ hb_work_object_t * hb_muxer_init( hb_job_t * job )
// set up to interleave track data in blocks of 1 video frame time.
// (the best case for buffering and playout latency). The container-
// specific muxers can reblock this into bigger chunks if necessary.
- mux->interleave = 90000. * (double)job->vrate_base / (double)job->vrate;
+ mux->interleave = 90000. * (double)job->vrate.den / job->vrate.num;
mux->pts = mux->interleave;
/* Get a real muxer */