Merge "Converting configure_skippable_frame() to is_skippable_frame()."
authorDmitry Kovalev <dkovalev@google.com>
Thu, 28 Aug 2014 18:45:32 +0000 (11:45 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Thu, 28 Aug 2014 18:45:32 +0000 (11:45 -0700)
1  2 
vp9/encoder/vp9_encoder.c

@@@ -2196,9 -2080,9 +2194,9 @@@ static void encode_frame_to_data_rate(V
  
    // Check if the current frame is skippable for the partition search in the
    // second pass according to the first pass stats
 -  if (cpi->oxcf.pass == 2 &&
 +  if (oxcf->pass == 2 &&
        (!cpi->use_svc || is_spatial_svc(cpi))) {
-     configure_skippable_frame(cpi);
+     cpi->skippable_frame = is_skippable_frame(cpi);
    }
  
    // For 1 pass CBR, check if we are dropping this frame.