shithub: libvpx

Download patch

ref: a365f3fc2b73b185bb1ad04c172472763efb027a
parent: 125f2f062f983969fc95a16e6a13e001d97b68d2
parent: 904589ba93f88140bec280f4c7dbffa4bade3ad4
author: Marco Paniconi <[email protected]>
date: Wed Jul 25 17:19:41 EDT 2018

Merge "Revert "vp9: Adjust reset segment for real-time screen-content""

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1615,7 +1615,7 @@
           vp9_get_sby_perpixel_variance(cpi, &x->plane[0].src, bsize);
 
     if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && mi->segment_id > 0 &&
-        x->source_variance == 0) {
+        x->zero_temp_sad_source && x->source_variance == 0) {
       mi->segment_id = 0;
       vp9_init_plane_quantizers(cpi, x);
     }