Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
b35b426e
Commit
b35b426e
authored
May 13, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
May 13, 2014
Browse files
Merge "Fixing constant value used to calculate frame pts and duration."
parents
32c51e82
947748ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/vp8_cx_iface.c
View file @
b35b426e
...
...
@@ -886,7 +886,7 @@ static vpx_codec_err_t vp8e_encode(vpx_codec_alg_priv_t *ctx,
VP8_COMP
*
cpi
=
(
VP8_COMP
*
)
ctx
->
cpi
;
/* Add the frame packet to the list of returned packets. */
round
=
(
vpx_codec_pts_t
)
1000000
round
=
(
vpx_codec_pts_t
)
1000000
0
*
ctx
->
cfg
.
g_timebase
.
num
/
2
-
1
;
delta
=
(
dst_end_time_stamp
-
dst_time_stamp
);
pkt
.
kind
=
VPX_CODEC_CX_FRAME_PKT
;
...
...
vp9/vp9_cx_iface.c
View file @
b35b426e
...
...
@@ -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
)
1000000
0
*
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
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment