update openpnp-capture to v0.0.28-5, fix typo

This commit is contained in:
Craig Raw
2025-03-20 11:48:22 +02:00
parent 25a3f5539d
commit 8a88488a42
2 changed files with 2 additions and 2 deletions
@@ -34,7 +34,7 @@ public enum WebcamPixelFormat {
public static WebcamPixelFormat fromFourCC(int fourCC) {
String strFourCC = fourCCToString(fourCC);
for(WebcamPixelFormat pixelFormat : WebcamPixelFormat.values()) {
if(pixelFormat.name().equalsIgnoreCase(strFourCC)) {
if(pixelFormat.getName().equalsIgnoreCase(strFourCC)) {
return pixelFormat;
}
}