Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test(verify): xfails from the first macOS and Linux CI runs; Opus gain tolerance

Richie McIlroy214a71990021
diff --git a/crates/verify/expectations.toml b/crates/verify/expectations.toml
index 3ca389cad..afa44c666 100644
--- a/crates/verify/expectations.toml
+++ b/crates/verify/expectations.toml
@@ -159,3 +159,18 @@ class = "stale"
platforms = ["macos"]
reason = "NEW: during a cross-fade both clips read the same AVAssetReader decoder at two positions; at 60 fps the incoming side of output frame 149 (2.483 s) shows source frame 115 instead of 116. Same frame in export and in offline playback, deterministic (3 of 3)"
link = ""
+
+[[xfail]]
+case = "seek/seek-native/keyframes60/avf"
+class = "future"
+platforms = ["macos"]
+flaky = true
+reason = "On the macos-15 runner (paravirtual VideoToolbox) the wrong-GOP seek also produced one answer a frame ahead (1 of 66); not seen on Apple silicon hardware"
+link = "https://github.com/CapSoftware/Cap/pull/2603"
+
+[[xfail]]
+case = "seek/seek-*/keyframes60/ffmpeg"
+class = "stale"
+platforms = ["linux", "windows"]
+reason = "NEW: FFmpeg decoder seeks near the start show frame 0 (frame 124 at 60 fps shows source 0 instead of 61) and one keyframe seek answers one frame stale (linux runner; the x264 fallback fixture)"
+link = ""
diff --git a/crates/verify/tests/codec.rs b/crates/verify/tests/codec.rs
index a155060c0..4fa8ae310 100644
--- a/crates/verify/tests/codec.rs
+++ b/crates/verify/tests/codec.rs
@@ -338,7 +338,7 @@ fn audio_markers_locate_within_a_millisecond_after_lossy_codecs_and_resampling()
assert_eq!(f.index, Some(e.index), "{codec:?} {out_rate:?} {source:?}");
let error = (f.time_secs + decoded.start_secs - e.time_secs).abs();
worst = worst.max(error);
- assert!((f.gain / 0.25 - 1.0).abs() < 0.3, "gain {}", f.gain);
+ assert!((f.gain / 0.25 - 1.0).abs() < 0.4, "gain {}", f.gain);
}
assert!(
worst < 0.001,