summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorDmitry Kovalev <dkovalev@google.com>2014-05-13 15:10:45 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-05-13 15:10:45 -0700
commitb35b426e5825c19f1a82de39ea1b762d189ff3be (patch)
tree1e01b4a4b1a194daf05a12d7a654e940c1725a41 /vp9
parent32c51e82226a829c2f7564aaa07c9e7892668a5b (diff)
parent947748ed19994dbe91bbfec5beafa67f096b8554 (diff)
downloadlibvpx-b35b426e5825c19f1a82de39ea1b762d189ff3be.tar
libvpx-b35b426e5825c19f1a82de39ea1b762d189ff3be.tar.gz
libvpx-b35b426e5825c19f1a82de39ea1b762d189ff3be.tar.bz2
libvpx-b35b426e5825c19f1a82de39ea1b762d189ff3be.zip
Merge "Fixing constant value used to calculate frame pts and duration."
Diffstat (limited to 'vp9')
-rw-r--r--vp9/vp9_cx_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c
index 6ef52eda9..c4058bb78 100644
--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -824,7 +824,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 =