Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
use capture size for creating display frames
Brendan Allanea9d1a73cc50
diff --git a/apps/desktop/src-tauri/src/display.rs b/apps/desktop/src-tauri/src/display.rsindex ca0afcf5d..c68d1bb94 100644--- a/apps/desktop/src-tauri/src/display.rs+++ b/apps/desktop/src-tauri/src/display.rs@@ -203,7 +203,7 @@ pub async fn start_capturing(match frame {Ok(Frame::BGRA(frame)) => {- let rgb_frame = bgra_frame(&frame.data, frame_size.0, frame_size.1);+ let rgb_frame = bgra_frame(&frame.data, capture_size[0], capture_size[1]);let mut yuv_frame = Video::empty();scaler.run(&rgb_frame, &mut yuv_frame).unwrap();