bug fix in video mode name

This commit is contained in:
ori agranat
2019-11-30 22:03:28 +02:00
parent 29466fa3cd
commit e8083794bd
4 changed files with 5 additions and 5 deletions

View File

@@ -13,6 +13,6 @@ public class CVPipelineSettings {
public double exposure = 50.0;
public double brightness = 50.0;
public double gain = 0;
public int VideoModeIndex = 0;
public int videoModeIndex = 0;
public StreamDivisor streamDivisor = StreamDivisor.NONE;
}

View File

@@ -153,7 +153,7 @@ public class SocketHandler {
currentCamera.setBrightness((Integer) entry.getValue());
break;
}
case "videoMode":{
case "videoModeIndex":{
currentCamera.setVideoMode((Integer) entry.getValue());
break;
}