Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test(rendering): update decoder health recreation threshold expectation

Richie McIlroy6bf076ace1d3
diff --git a/crates/rendering/src/decoder/avassetreader.rs b/crates/rendering/src/decoder/avassetreader.rs
index d22891e19..888beb3bd 100644
--- a/crates/rendering/src/decoder/avassetreader.rs
+++ b/crates/rendering/src/decoder/avassetreader.rs
@@ -957,7 +957,7 @@ mod tests {
for _ in 0..DecoderHealth::MAX_CONSECUTIVE_EMPTY {
health.record_empty_iteration();
}
- assert!(health.needs_recreation(50, 100));
+ assert!(health.needs_recreation(50, 200));
}
#[test]