mirror of
https://github.com/Project-Babble/ProjectBabble.git
synced 2026-11-29 21:32:42 -08:00
Merge pull request #125 from mxjessie/fix-http-cameras
Revert call to get_camera_index_by_name to fix http camera access
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -143,7 +143,7 @@ class Camera:
|
||||
self.cv2_camera is None
|
||||
or not self.cv2_camera.isOpened()
|
||||
or self.camera_status == CameraState.DISCONNECTED
|
||||
or get_camera_index_by_name(self.config.capture_source) != self.current_capture_source
|
||||
or self.config.capture_source != self.current_capture_source
|
||||
):
|
||||
if self.vft_camera is not None:
|
||||
self.vft_camera.close()
|
||||
|
||||
Reference in new issue
Block a user