Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test(verify): drop the fixed long-crossfade xfail, keep seed 23's Linux renderer frame

Richie McIlroy559ed901b450
diff --git a/crates/verify/expectations.toml b/crates/verify/expectations.toml
index 9586af6ed..97d0aa7f8 100644
--- a/crates/verify/expectations.toml
+++ b/crates/verify/expectations.toml
@@ -189,14 +189,6 @@ bound = { screen-frames = 1, delta = 1, frame = [149, 149] }
reason = "During a cross-fade both clips read the same AVAssetReader decoder at two positions; a reset for one position drops the other position's last vended frame from the cache, so at 60 fps the incoming side of output frame 149 (2.483 s) shows source frame 115 instead of 116. Not the IOSurface source lifetime bug: it stays with that fix (sol-avf proof run 38762654200). Same frame in export and in offline playback. Fires in almost every run but depends on the decoder's cache state, which its 250 ms idle timeout (IDLE_READER_TIMEOUT) clears: a 300 ms pause in the request stream at 2.0, 2.42 or 2.48 s makes offline playback correct (measured on Apple silicon), and the export passed once on macos-15 (push run 38763177849). Bound: that one screen frame, one source frame stale"
link = "https://github.com/CapSoftware/Cap/pull/2638"
-[[xfail]]
-case = "audio/audio-mix-*-a2/long-crossfade/mp4-*"
-class = "stale"
-platforms = ["linux", "windows"]
-bound = { screen-frames = 18, delta = 49, frame = [61, 115] }
-reason = "FFmpeg decoder, same-clip cross-fade (cuts 0.3-4.1 s and 3.9-7.8 s of one recording, 1.8 s transition): both sides read one decoder at two positions, so blend frames take a side up to 49 source frames stale (frame 61: 80 for 129; 18 frames, output frames 61 to 110, 6 of them where the stale side is the weaker one, inside the 1.8 s transition at output frames 61 to 115). Same mechanism as editing/export/same-clip-transition/forward/ffmpeg; identical on Linux and Windows and for the 30 s full-tier fixture (same cuts)"
-link = ""
-
[[xfail]]
case = "seek/seek-native/keyframes60/ffmpeg"
class = "stale"
@@ -233,6 +225,14 @@ bound = { count = 1 }
reason = "NEW (minor): loading a legacy (output-timed) project drops a caption that ends exactly at the timeline end: synchronize_captions maps each end through source_start + (end - start) / timescale, which rounds just below the timeline end after a clip transition (clips 41/15 s and 82/15 s, 0.2 s transition: 7.9999999 < 8.0), so the end does not map and the whole caption is discarded"
link = ""
+[[xfail]]
+case = "editing/export/basic/seed-23"
+class = "future"
+platforms = ["linux"]
+bound = { camera-frames = 1, delta = 8, frame = [8, 8] }
+reason = "NEW: Linux only (software renderer): in seed 23's 3 s same-clip cross-fade, output frame 8 shows incoming camera source frame 84 instead of 76. The FFmpeg decoder answers every camera request with the requested frame (traced: request 76 read 76, run 38997099068, identical on macOS), so a later camera frame reaches the renderer's shared camera layer, which draws the outgoing and incoming sides in turn. Before #2661 the shared decoder made output frames 7 to 12 up to 70 frames stale and hid it. Deterministic on Linux; macOS and Windows pass"
+link = ""
+
[[xfail]]
case = "playback/basic/cuts-speeds-reorder/realtime30-from25/avf"
class = "stale"