From 625e01eccd31dfb1692501023107752d3b3fd22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sun, 6 Sep 2026 11:46:41 +0300 Subject: [PATCH] fix(av1): the GOP round-trip tests decode the key frame under its own screen flag Three decode::tests GOP tests handed `decode_key_frame_tile_lr` a hard-coded `allow_screen_content_tools = false` while decoding an encoder-written tile whose detector had fired (stale-header class, same shape as the `reference_select` instance): frame 0's luma came back wrong. --- crates/ec-av1/src/decode.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 42ce01a5..0a5f91f9 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -37476,7 +37476,9 @@ mod tests { &key.loop_filter, key.tx_select, true, - false, + // This key frame's own `allow_screen_content_tools`: its intra + // blocks carry the palette syntax under it (stale-header class). + key.screen, false, &key.loop_restoration, fctx, ) @@ -37814,7 +37816,9 @@ mod tests { &key.loop_filter, key.tx_select, true, - false, + // This key frame's own `allow_screen_content_tools`: its intra + // blocks carry the palette syntax under it (stale-header class). + key.screen, false, &key.loop_restoration, fctx, )