The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
test(render): the blurred-background tests skip Windows' software adapter, as the glow and bloom ones do (#232, #255)
Jareerbcf9fa4cd114
diff --git a/src/crates/concat-host/tests/export.rs b/src/crates/concat-host/tests/export.rsindex 9b78fb12..0b1e295a 100644--- a/src/crates/concat-host/tests/export.rs+++ b/src/crates/concat-host/tests/export.rs@@ -951,6 +951,17 @@ fn a_background_fills_the_bars_in_the_export_and_the_monitor() {coloured.expect_colours(1.0, &[((0.5, 0.1), teal), ((0.5, 0.9), teal)]);agree("a colour background", &coloured, &monitor(&studio));+ // The rest is over the timeline's blur, a wide Gaussian, and on+ // Windows' software adapter (WARP) its first frame outran the device+ // wait and the test's five minutes; there, as for the glow, it is left+ // out unless CONCAT_REQUIRE_GPU is set. Linux's lavapipe and every real+ // GPU still draw it.+ let software = export::WgpuCompositor::new().is_some_and(|gpu| gpu.on_software_adapter());+ if software && std::env::var_os("CONCAT_REQUIRE_GPU").is_none() {+ eprintln!("a software adapter only, and CONCAT_REQUIRE_GPU is not set; no blur");+ return;+ }+// Enlarged to cover the frame, the picture's middle third fills it:// the left quadrants on the left, the right ones on the right, red and// green above, blue and yellow below, a little softened.diff --git a/src/crates/concat-render/src/gpu/tests.rs b/src/crates/concat-render/src/gpu/tests.rsindex 7aef9e28..97d0c3bc 100644--- a/src/crates/concat-render/src/gpu/tests.rs+++ b/src/crates/concat-render/src/gpu/tests.rs@@ -2135,7 +2135,7 @@ fn light(level: u8) -> f64 {/// itself comes out exactly as it does over black.#[test]fn a_blurred_background_is_the_picture_covering_the_frame_blurred() {- let Some(mut gpu) = gpu() else { return };+ let Some(mut gpu) = heavy_gpu() else { return };let blur = concat_effects::Catalogue::builtin().get("concat.gaussian-blur").expect("a built-in");