移除USB相机名称中的默认分辨率
This commit is contained in:
parent
d527aeac86
commit
c660493dbd
@ -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
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user