移除USB相机名称中的默认分辨率

This commit is contained in:
tfarcraw 2026-11-18 16:40:28 +08:00
parent d527aeac86
commit c660493dbd

View File

@ -74,7 +74,7 @@ public class UvcCameraService : ICameraService
var h = probe.Get(VideoCaptureProperties.FrameHeight);
if (w <= 0 || h <= 0) continue;
list.Add(new CameraInfo { Index = index, Name = $"Camera {index}({w:F0}x{h:F0})" });
list.Add(new CameraInfo { Index = index, Name = $"Camera {index}" });
}
catch
{