fix: 树莓派gstreamer pipeline报错

This commit is contained in:
grabbit 2025-04-05 16:34:24 +08:00
parent f2cecfbbd4
commit e5c297cf35

View File

@ -65,7 +65,7 @@ impl OpenCVCamera {
if let Ok(device_index) = num_str.parse::<i32>() {
// 在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);