From e5c297cf356e8b1dbaa7490c4dcbccc7ae5d2b5f Mon Sep 17 00:00:00 2001 From: grabbit Date: Sat, 5 Apr 2025 16:34:24 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E6=A0=91=E8=8E=93=E6=B4=BEgstre?= =?UTF-8?q?amer=20pipeline=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/camera/opencv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/camera/opencv.rs b/src/camera/opencv.rs index 8e07f44..acc7632 100644 --- a/src/camera/opencv.rs +++ b/src/camera/opencv.rs @@ -65,7 +65,7 @@ impl OpenCVCamera { if let Ok(device_index) = num_str.parse::() { // 在Linux下使用GStreamer pipeline let pipeline = format!( - "v4l2src device={} ! videoconvert ! video/x-raw,format=BGR ! appsink", + "v4l2src device={} ! videoconvert ! appsink", path_str ); info!("Using GStreamer pipeline: {}", pipeline);