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);