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
parent 17b2d631
......@@ -3167,6 +3167,7 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
#endif
// As this frame is a key frame the next defaults to an inter frame.
cm->frame_type = INTER_FRAME;
vp9_clear_system_state();
cpi->rc.frames_since_key = 0;
} else {
......
Markdown is supported
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