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:
dfgHiatus authored and GitHub committed 2025-08-30 12:35:15 -07:00
commit 17d07c2f90
1 file changed
+1 -1
+1 -1
View File
@@ -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()