shithub: libvpx

Download patch

ref: 4254ecaa075e672b66b9d723ebdd3d7ed7125055
parent: 78859608302d9ec5bf6e5d04347746b5620bb03f
parent: cafbef75bfb3a1604307bb26703fe8f333bed7b1
author: Marco Paniconi <marpan@google.com>
date: Mon Jan 27 01:06:29 EST 2020

Merge "vp9-rtc: Fix condition in regulate_q for cyclic_refresh"

--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -826,8 +826,7 @@
   i = active_best_quality;
 
   do {
-    if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && cm->seg.enabled &&
-        cr->apply_cyclic_refresh &&
+    if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && cr->apply_cyclic_refresh &&
         (!cpi->oxcf.gf_cbr_boost_pct || !cpi->refresh_golden_frame)) {
       bits_per_mb_at_this_q =
           (int)vp9_cyclic_refresh_rc_bits_per_mb(cpi, i, correction_factor);