Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

Fix the pool test helper for the shared pool

Jareere4703905b136
diff --git a/engine/crates/concat-media/src/pool.rs b/engine/crates/concat-media/src/pool.rs
index 1f3891af..12b68b67 100644
--- a/engine/crates/concat-media/src/pool.rs
+++ b/engine/crates/concat-media/src/pool.rs
@@ -614,7 +614,7 @@ mod tests {
let pool = ReaderPool::new(64 * 1024 * 1024, 4);
let rate = FrameRate::THIRTY;
- let red_at = |pool: &mut ReaderPool, index: i64| -> i64 {
+ let red_at = |pool: &ReaderPool, index: i64| -> i64 {
let frame = pool
.frame_at(&path, rate.time_of_frame(index), 64, 64, false, None)
.expect("frame decodes");