From 990295bc2d7abdbdb8499709b5cc023e9ce162d4 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Mon, 4 Aug 2025 14:13:20 +0800 Subject: [PATCH 1/4] 0.0.8 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8c84b68..5e9d34a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "scap" description = "Modern, high-performance screen capture library for Rust. Cross-platform." -version = "0.1.0-beta.1" +version = "0.0.8" edition = "2021" rust-version = "1.85" license = "MIT" From 4a6adc3f6c1c290f7e329770c85b309a452a69dc Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Mon, 4 Aug 2025 14:15:01 +0800 Subject: [PATCH 2/4] beta.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5e9d34a..8c84b68 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "scap" description = "Modern, high-performance screen capture library for Rust. Cross-platform." -version = "0.0.8" +version = "0.1.0-beta.1" edition = "2021" rust-version = "1.85" license = "MIT" From e0db51fe7c1549c5d5dd40fe1504fa331dc90ce4 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Mon, 4 Aug 2025 14:18:46 +0800 Subject: [PATCH 3/4] Merge pull request #166 from CapSoftware/release-plz-2025-08-04T06-13-30Z chore: release v0.1.0-beta.1 --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 306dd86..605e74f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1077,7 +1077,7 @@ dependencies = [ [[package]] name = "scap" -version = "0.1.0-beta.0" +version = "0.1.0-beta.1" dependencies = [ "cidre", "cocoa", From 6cc0063fad307c651f63af360784590988a1f377 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Mon, 4 Aug 2025 14:23:43 +0800 Subject: [PATCH 4/4] silent fail when sending frames on windows --- src/capturer/engine/win/mod.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/capturer/engine/win/mod.rs b/src/capturer/engine/win/mod.rs index 6f9370b..409b658 100644 --- a/src/capturer/engine/win/mod.rs +++ b/src/capturer/engine/win/mod.rs @@ -116,9 +116,7 @@ impl GraphicsCaptureApiHandler for Capturer { data: raw_frame_buffer.to_vec(), }; - self.tx - .send(Frame::Video(VideoFrame::BGRA(bgr_frame))) - .expect("Failed to send data"); + let _ = self.tx.send(Frame::Video(VideoFrame::BGRA(bgr_frame))); } None => { // get raw frame buffer @@ -136,9 +134,7 @@ impl GraphicsCaptureApiHandler for Capturer { data: frame_data, }; - self.tx - .send(Frame::Video(VideoFrame::BGRA(bgr_frame))) - .expect("Failed to send data"); + let _ = self.tx.send(Frame::Video(VideoFrame::BGRA(bgr_frame))); } } Ok(())