Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix camera large error log (#13227)

21pagesc9940957f002
diff --git a/libs/scrap/src/common/camera.rs b/libs/scrap/src/common/camera.rs
index 2557103e2..ea259bdc1 100644
--- a/libs/scrap/src/common/camera.rs
+++ b/libs/scrap/src/common/camera.rs
@@ -268,12 +268,12 @@ impl TraitCapturer for CameraCapturer {
#[cfg(windows)]
fn is_gdi(&self) -> bool {
- false
+ true
}
#[cfg(windows)]
fn set_gdi(&mut self) -> bool {
- false
+ true
}
#[cfg(feature = "vram")]