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 20, 2023
1 parent 7caece0 commit 0d36e80
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 0d36e80

Please sign in to comment.