From 947748ed19994dbe91bbfec5beafa67f096b8554 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Fri, 25 Apr 2014 17:39:48 -0700 Subject: Fixing constant value used to calculate frame pts and duration. Change-Id: Idbd017d1b42f7fdc7b1ce4e00370f5229800abd7 --- vp9/vp9_cx_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vp9') diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index 1ca9fb93a..f7c0a6463 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -818,7 +818,7 @@ static vpx_codec_err_t encoder_encode(vpx_codec_alg_priv_t *ctx, } // Add the frame packet to the list of returned packets. - round = (vpx_codec_pts_t)1000000 * ctx->cfg.g_timebase.num / 2 - 1; + round = (vpx_codec_pts_t)10000000 * ctx->cfg.g_timebase.num / 2 - 1; delta = (dst_end_time_stamp - dst_time_stamp); pkt.kind = VPX_CODEC_CX_FRAME_PKT; pkt.data.frame.pts = -- cgit v1.2.3