We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0fe61 commit 6ae3b58Copy full SHA for 6ae3b58
1 file changed
java/libraries/video/src/processing/video/Capture.java
@@ -799,7 +799,7 @@ static protected String devicePropertyName() {
799
} else if (PApplet.platform == WINDOWS) {
800
return "device-name";
801
} else if (PApplet.platform == MACOSX) {
802
- return "device";
+ return "device-name";
803
} else {
804
return "";
805
}
@@ -812,7 +812,7 @@ static protected String indexPropertyName() {
812
813
return "device-index";
814
815
- return "device-index"; // Is this correct? Probably not.
+ return "device";
816
817
818
0 commit comments