mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
Add release condition for ASeeVR camera
I plain forgot about this, whoops
This commit is contained in:
parent
353ae2b2a1
commit
dd97a467ba
@ -148,6 +148,9 @@ class Camera:
|
|||||||
if is_serial_capture_source(addr):
|
if is_serial_capture_source(addr):
|
||||||
pass # TODO: find a nicer way to stop the com port
|
pass # TODO: find a nicer way to stop the com port
|
||||||
# self.serial_connection.close()
|
# self.serial_connection.close()
|
||||||
|
elif is_aseevr_capture_source(addr):
|
||||||
|
# We don't need any special release for ASeeVR, each capture event is fully closed within itself
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
self.cv2_camera.release()
|
self.cv2_camera.release()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user