Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
test(preview): check the view played up to the last clip's end
EtienneLescotf7615d42980f
diff --git a/crates/compositor/src/pipeline_windows.rs b/crates/compositor/src/pipeline_windows.rsindex 6baefada3..d25d268e2 100644--- a/crates/compositor/src/pipeline_windows.rs+++ b/crates/compositor/src/pipeline_windows.rs@@ -3035,6 +3035,12 @@ mod tests {"end {last_end_sec}: held a frame past the clip's end, at {:.3} s",held.source_time_sec);+ // And it did play up to there: a view stalled at its start would pass the bound above.+ assert!(+ held.source_time_sec > last_end_sec - 0.1,+ "end {last_end_sec}: playback did not reach the clip's end, held at {:.3} s",+ held.source_time_sec+ );// A seek inside the last clip, as the app sends it while paused.view.set_time(0.2);