Skip to content

Commit 6ae3b58

Browse files
committed
Renamed device properties for OSX
1 parent ad0fe61 commit 6ae3b58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

java/libraries/video/src/processing/video/Capture.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ static protected String devicePropertyName() {
799799
} else if (PApplet.platform == WINDOWS) {
800800
return "device-name";
801801
} else if (PApplet.platform == MACOSX) {
802-
return "device";
802+
return "device-name";
803803
} else {
804804
return "";
805805
}
@@ -812,7 +812,7 @@ static protected String indexPropertyName() {
812812
} else if (PApplet.platform == WINDOWS) {
813813
return "device-index";
814814
} else if (PApplet.platform == MACOSX) {
815-
return "device-index"; // Is this correct? Probably not.
815+
return "device";
816816
} else {
817817
return "";
818818
}

0 commit comments

Comments
 (0)