Skip to content
GitLab
Menu
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
dbae9808
Commit
dbae9808
authored
Jan 21, 2014
by
Yaowu Xu
Browse files
Enforce key frame placement
Change-Id: I2f85c6b058638571d68a7209779de8ca8168934f
parent
575a083b
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_firstpass.c
View file @
dbae9808
...
...
@@ -2060,7 +2060,8 @@ void vp9_get_second_pass_params(VP9_COMP *cpi) {
this_frame_coded_error
=
this_frame
.
coded_error
;
// keyframe and section processing !
if
(
rc
->
frames_to_key
==
0
)
{
if
(
rc
->
frames_to_key
==
0
||
(
cpi
->
common
.
frame_flags
&
FRAMEFLAGS_KEY
))
{
// Define next KF group and assign bits to it
this_frame_copy
=
this_frame
;
find_next_key_frame
(
cpi
,
&
this_frame_copy
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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