forge
Explore
Log in

Don't you dare go Hollow

Merge branch 'lane-deblkflake': EC_AV1_GATE_DUMP pins the deblocking gate's stream

Browse files at this commit

87eb5eee23e8a17efecbe09de2f0c959392093a1Ahmet Kaan GümüşParent: 30b983366f2499
1503 filtered attempts on 95e9170 all green -- the ledger's 1-in-10
flake rate was stale-premise. Real variance mechanism: lavfi
gradients ignores its seed option for c0..c7 colors (default
"random"), so the gate encodes different content every run. The
dump hook captures the exact aomenc stream decoded, so any future
organic failure is pinnable immediately.
crates/ec-av1/src/stream.rsmodified+3 -0
@@ -1764,6 +1764,9 @@ mod tests {
17641764 String::from_utf8_lossy(&out.stderr)
17651765 );
17661766 let stream = out.stdout;
1767+ if let Ok(dump) = std::env::var("EC_AV1_GATE_DUMP") {
1768+ std::fs::write(dump, &stream).expect("dump stream");
1769+ }
17671770 let before = decode::deblock_hits();
17681771 let frames = match decode_stream(&stream) {
17691772 Ok(frames) => frames,