Skip to content

Commit

Permalink
Windows bug fix (dev is not constant)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRedness committed Nov 21, 2023
1 parent 34cf9fc commit a6b61c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ private List<UsbCameraInfo> filterAllowedDevices(List<UsbCameraInfo> allDevices)

private boolean usbCamEquals(UsbCameraInfo a, UsbCameraInfo b) {
return a.path.equals(b.path)
&& a.dev == b.dev
// && a.dev == b.dev (dev is not constant in Windows)
&& a.name.equals(b.name)
&& a.productId == b.productId
&& a.vendorId == b.vendorId;
Expand Down

0 comments on commit a6b61c7

Please sign in to comment.