]> granicus.if.org Git - libvpx/commitdiff
Fix a bug
authorYaowu Xu <yaowu@google.com>
Fri, 20 Dec 2013 16:52:35 +0000 (08:52 -0800)
committerYaowu Xu <yaowu@google.com>
Fri, 20 Dec 2013 16:52:35 +0000 (08:52 -0800)
The line was accidently removed in 4dbad63a7.

Change-Id: Ic1e18f209cead95cecc684f952ae667271b58a97

vp9/encoder/vp9_onyx_if.c

index 3f813a1f65120f7e0037e62ec17125d3b5ed3b28..f52e680a66068001242cfedf3dc2fe807152487c 100644 (file)
@@ -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 {