YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
style: cargo fmt hd_recorder.rs
Louis Beaumont851e874a0dde
diff --git a/crates/screenpipe-engine/src/hd_recorder.rs b/crates/screenpipe-engine/src/hd_recorder.rsindex fc283c9ea..adea8513e 100644--- a/crates/screenpipe-engine/src/hd_recorder.rs+++ b/crates/screenpipe-engine/src/hd_recorder.rs@@ -402,7 +402,10 @@ mod macos {let rgb = image::DynamicImage::ImageRgba8(frame).to_rgb8();let mut buf = Vec::new();image::DynamicImage::ImageRgb8(rgb)- .write_to(&mut std::io::Cursor::new(&mut buf), image::ImageFormat::Jpeg)+ .write_to(+ &mut std::io::Cursor::new(&mut buf),+ image::ImageFormat::Jpeg,+ ).context("jpeg encode")?;Ok(buf)}