Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(recording): drop the unread held-frame count in the cancelled video drain

LukeParkerDev37032b58afc2
diff --git a/crates/recording/src/output_pipeline/core.rs b/crates/recording/src/output_pipeline/core.rs
index 656af45b5..9f5883af0 100644
--- a/crates/recording/src/output_pipeline/core.rs
+++ b/crates/recording/src/output_pipeline/core.rs
@@ -3132,7 +3132,6 @@ fn spawn_video_encoder<TMutex: VideoMuxer<VideoFrame = TVideo::Frame>, TVideo: V
let timestamp = frame.timestamp();
if let Some(gate) = &start_gate {
if !gate.admits_video(timestamp) {
- held_before_start += 1;
continue;
}
wall_clock_origin = gate