Commit 02a31e6b authored by John Koleszar's avatar John Koleszar Committed by Gerrit Code Review
Browse files

Merge "decoder: reset segmentation map on keyframes"

Showing with 6 additions and 0 deletions
...@@ -827,6 +827,12 @@ int vp8_decode_frame(VP8D_COMP *pbi) ...@@ -827,6 +827,12 @@ int vp8_decode_frame(VP8D_COMP *pbi)
} }
} }
} }
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 */ /* Read the loop filter level and type */
pc->filter_type = (LOOPFILTERTYPE) vp8_read_bit(bc); pc->filter_type = (LOOPFILTERTYPE) vp8_read_bit(bc);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment