ref: ae1eb5f2b755d3cec760de3929a7003094414f8f
parent: e55107960922779d14452db670eb5c6918f1b03f
author: Ronald S. Bultje <[email protected]>
date: Thu Nov 15 03:12:07 EST 2018
Use seg->globalmv/skip in determining is_comp
--- a/src/decode.c
+++ b/src/decode.c
@@ -1350,7 +1350,7 @@
if (b->skip_mode) {
is_comp = 1;
- } else if ((!seg || seg->ref == -1) &&
+ } else if ((!seg || (seg->ref == -1 && !seg->globalmv && !seg->skip)) &&
f->frame_hdr.switchable_comp_refs && imin(bw4, bh4) > 1)
{
const int ctx = get_comp_ctx(t->a, &t->l, by4, bx4,