Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix for windows
Brendan Allan4d4ef77dad7e
diff --git a/Cargo.lock b/Cargo.lockindex a5fc0e0a9..706805d3a 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -838,7 +838,6 @@ dependencies = ["cap-rendering","cap-utils","clap 4.5.23",- "core-graphics 0.24.0","editor","ffmpeg-next","flume 0.11.0",diff --git a/apps/cli/Cargo.toml b/apps/cli/Cargo.tomlindex 073a89724..cecfb6420 100644--- a/apps/cli/Cargo.toml+++ b/apps/cli/Cargo.toml@@ -19,7 +19,6 @@ serde_json = "1.0.133"tokio.workspace = trueeditor = "0.1.1"scap.workspace = true-core-graphics = "0.24.0"uuid = { version = "1.11.1", features = ["v4"] }ffmpeg = { workspace = true }tracing = "0.1.41"diff --git a/crates/rendering/src/decoder/ffmpeg.rs b/crates/rendering/src/decoder/ffmpeg.rsindex 76b1b680d..f45d1bb3a 100644--- a/crates/rendering/src/decoder/ffmpeg.rs+++ b/crates/rendering/src/decoder/ffmpeg.rs@@ -70,7 +70,7 @@ enum CachedFrameData {Processed(Arc<Vec<u8>>),}-struct FfmpegDecoder;+pub struct FfmpegDecoder;impl FfmpegDecoder {fn spawn(name: &'static str, path: PathBuf, fps: u32, rx: mpsc::Receiver<VideoDecoderMessage>) {diff --git a/crates/rendering/src/decoder/mod.rs b/crates/rendering/src/decoder/mod.rsindex 78630e1c1..482ef2d70 100644--- a/crates/rendering/src/decoder/mod.rs+++ b/crates/rendering/src/decoder/mod.rs@@ -48,7 +48,7 @@ pub fn spawn_decoder(name: &'static str, path: PathBuf, fps: u32) -> AsyncVideoD#[cfg(not(target_os = "macos"))]{- FfmpegDecoder::spawn(name, path, fps, rx);+ ffmpeg::FfmpegDecoder::spawn(name, path, fps, rx);}handle