added more pipeline creation for new cam

This commit is contained in:
ori agranat
2019-09-25 10:10:11 -07:00
parent 9bf1bc40c1
commit 3af2f3c686
2 changed files with 5 additions and 2 deletions

View File

@@ -70,7 +70,9 @@ public class CameraManager {
private static boolean addCamera(Camera camera, String cameraName) {
if (AllCamerasByName.containsKey(cameraName)) return false;
camera.addPipeline();
for (int i = 0; i < 10;i++){
camera.addPipeline(); // simple fix to create more pipelines for now
}
AllCamerasByName.put(cameraName, camera);
return true;
}