mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
compare on device unique id when choosing selected camera
This commit is contained in:
parent
f82fcb58bb
commit
6c9a0d14cd
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ public class WebcamService extends ScheduledService<Image> {
|
||||||
|
|
||||||
if(device != null) {
|
if(device != null) {
|
||||||
for(CaptureDevice webcam : availableDevices) {
|
for(CaptureDevice webcam : availableDevices) {
|
||||||
if(webcam.getName().equals(device.getName())) {
|
if(webcam.equals(device)) {
|
||||||
selectedDevice = webcam;
|
selectedDevice = webcam;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue