Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Use consistent segment start time in pipeline factory

Richie McIlroyf54bcae29f39
diff --git a/crates/recording/src/studio_recording.rs b/crates/recording/src/studio_recording.rs
index 3ba794ed7..740ad7c77 100644
--- a/crates/recording/src/studio_recording.rs
+++ b/crates/recording/src/studio_recording.rs
@@ -837,11 +837,7 @@ impl SegmentPipelineFactory {
cursors: Cursors,
next_cursors_id: u32,
) -> anyhow::Result<Pipeline> {
- let segment_start_time = if self.index == 0 {
- self.start_time
- } else {
- Timestamps::now()
- };
+ let segment_start_time = self.start_time;
let pipeline = create_segment_pipeline(
&self.segments_dir,
&self.cursors_dir,