Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Remove unused mutable binding in camera_legacy.rs

Richie McIlroy737b89adc751
diff --git a/apps/desktop/src-tauri/src/camera_legacy.rs b/apps/desktop/src-tauri/src/camera_legacy.rs
index 1e9bd67e0..444d0f24d 100644
--- a/apps/desktop/src-tauri/src/camera_legacy.rs
+++ b/apps/desktop/src-tauri/src/camera_legacy.rs
@@ -5,7 +5,7 @@ use tokio_util::sync::CancellationToken;
use crate::frame_ws::{WSFrame, create_frame_ws};
pub async fn create_camera_preview_ws() -> (Sender<FFmpegVideoFrame>, u16, CancellationToken) {
- let (camera_tx, mut camera_rx) = flume::bounded::<FFmpegVideoFrame>(4);
+ let (camera_tx, camera_rx) = flume::bounded::<FFmpegVideoFrame>(4);
let (frame_tx, _) = tokio::sync::broadcast::channel::<WSFrame>(4);
let frame_tx_clone = frame_tx.clone();
std::thread::spawn(move || {