Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

don't wait for ffmpeg to start up :eyes:

Brendan Allan91b359cf72fa
diff --git a/apps/desktop-solid/src-tauri/src/recording.rs b/apps/desktop-solid/src-tauri/src/recording.rs
index a628aaab4..4e2fa19e3 100644
--- a/apps/desktop-solid/src-tauri/src/recording.rs
+++ b/apps/desktop-solid/src-tauri/src/recording.rs
@@ -210,8 +210,6 @@ pub async fn start(
let ffmpeg_process = ffmpeg.start();
- tokio::time::sleep(Duration::from_secs(2)).await;
-
println!("Starting writing to named pipes");
start_writing_tx.send(true).unwrap();