summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index e461f634b..379365b57 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -1332,6 +1332,10 @@ static int decavcodecviInfo( hb_work_object_t *w, hb_work_info_t *info )
// need it in units of the 27MHz MPEG clock. */
info->rate = 27000000;
info->rate_base = pv->duration * 300.;
+ if ( pv->context->ticks_per_frame > 1 )
+ {
+ info->rate_base *= 2;
+ }
return 1;
}
return 0;