Merge "Fix decimation_count in drop_frame"
authorYunqing Wang <yunqingwang@google.com>
Fri, 29 Jun 2012 17:57:39 +0000 (10:57 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Fri, 29 Jun 2012 17:57:39 +0000 (10:57 -0700)
1  2 
vp8/encoder/onyx_if.c

@@@ -3454,8 -3466,10 +3454,10 @@@ static void encode_frame_to_data_rat
          else
              cpi->decimation_count = cpi->decimation_factor;
      }
+     else
+         cpi->decimation_count = 0;
  
 -    // Decide how big to make the frame
 +    /* Decide how big to make the frame */
      if (!vp8_pick_frame_size(cpi))
      {
          cm->current_video_frame++;