shithub: libvpx

Download patch

ref: 5f906e92e19fcfc4806d06e704a9358c561028d9
parent: 127e8050649f8e9427836aae2a935032f2955d17
parent: dfe4a7c88e1592ef84e21c35b8d58a2937ac7db8
author: Jingning Han <jingning@google.com>
date: Tue Nov 6 12:10:03 EST 2018

Merge "Remove redundant assignments in define_gf_group_structure()"

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2241,16 +2241,7 @@
   // We need to configure the frame at the end of the sequence + 1 that will be
   // the start frame for the next group. Otherwise prior to the call to
   // vp9_rc_get_second_pass_params() the data will be undefined.
-
   set_gf_overlay_frame_type(gf_group, frame_index, rc->source_alt_ref_pending);
-
-  if (rc->source_alt_ref_pending) {
-    gf_group->update_type[frame_index] = OVERLAY_UPDATE;
-    gf_group->rf_level[frame_index] = INTER_NORMAL;
-  } else {
-    gf_group->update_type[frame_index] = GF_UPDATE;
-    gf_group->rf_level[frame_index] = GF_ARF_STD;
-  }
   gf_group->arf_src_offset[frame_index] = 0;
   gf_group->frame_gop_index[frame_index] = rc->baseline_gf_interval;