Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Lower reposition threshold to 2.5 seconds

Richie McIlroy82b9162042c3
diff --git a/crates/rendering/src/decoder/multi_position.rs b/crates/rendering/src/decoder/multi_position.rs
index 4f8e294a2..698dcb2a4 100644
--- a/crates/rendering/src/decoder/multi_position.rs
+++ b/crates/rendering/src/decoder/multi_position.rs
@@ -5,7 +5,7 @@ use tokio::runtime::Handle as TokioHandle;
use cap_video_decode::avassetreader::KeyframeIndex;
pub const MAX_DECODER_POOL_SIZE: usize = 3;
-pub const REPOSITION_THRESHOLD_SECS: f32 = 5.0;
+pub const REPOSITION_THRESHOLD_SECS: f32 = 2.5;
pub struct DecoderPosition {
pub id: usize,