mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 00:04:55 +00:00
compare on device unique id when choosing selected camera
This commit is contained in:
@@ -137,7 +137,7 @@ public class WebcamService extends ScheduledService<Image> {
|
||||
|
||||
if(device != null) {
|
||||
for(CaptureDevice webcam : availableDevices) {
|
||||
if(webcam.getName().equals(device.getName())) {
|
||||
if(webcam.equals(device)) {
|
||||
selectedDevice = webcam;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user