shithub: libvpx

Download patch

ref: 02a31e6b3c3b48886d8f2b824bc47769fcca0419
parent: 313bfbb6a29bf7c60d9a9e33397ed82a8d11fe2d
parent: e8223bd2503937db12abb5800292a57be2f02e85
author: John Koleszar <jkoleszar@google.com>
date: Mon Feb 27 04:58:29 EST 2012

Merge "decoder: reset segmentation map on keyframes"

--- a/vp8/decoder/decodframe.c
+++ b/vp8/decoder/decodframe.c
@@ -827,6 +827,12 @@
             }
         }
     }
+    else
+    {
+        /* No segmentation updates on this frame */
+        xd->update_mb_segmentation_map = 0;
+        xd->update_mb_segmentation_data = 0;
+    }
 
     /* Read the loop filter level and type */
     pc->filter_type = (LOOPFILTERTYPE) vp8_read_bit(bc);
--