Commit 2472f125 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Fix a bug

The line was accidently removed in 4dbad63a.

Change-Id: Ic1e18f209cead95cecc684f952ae667271b58a97
Showing with 1 addition and 0 deletions
...@@ -3167,6 +3167,7 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi, ...@@ -3167,6 +3167,7 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
#endif #endif
// As this frame is a key frame the next defaults to an inter frame. // As this frame is a key frame the next defaults to an inter frame.
cm->frame_type = INTER_FRAME;
vp9_clear_system_state(); vp9_clear_system_state();
cpi->rc.frames_since_key = 0; cpi->rc.frames_since_key = 0;
} else { } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment