Remove src alt frame check in show_existing_frame
Change-Id: Icc972c42d79c190e253fb44b7dc17508c0148742
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c
index 30040fc..2d73886 100644
--- a/av1/encoder/encoder.c
+++ b/av1/encoder/encoder.c
@@ -2906,10 +2906,8 @@
// Since we allocate a spot for the OVERLAY frame in the gf group, we need
// to do post-encoding update accordingly.
- if (cpi->rc.is_src_frame_alt_ref) {
- av1_set_target_rate(cpi, cm->width, cm->height);
- av1_rc_postencode_update(cpi, *size);
- }
+ av1_set_target_rate(cpi, cm->width, cm->height);
+ av1_rc_postencode_update(cpi, *size);
if (is_psnr_calc_enabled(cpi)) {
cpi->source =