]> granicus.if.org Git - libvpx/commitdiff
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

index 8464882eac89d4be194ff8a2fbb3a79e9e4f7bec,df810789ffca9f827ee7ac85ea7c82ccb1947b3a..9c41dd06a8092c6622977674b1c62d099a4bae07
@@@ -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.