summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--video-ps3eye/module.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/video-ps3eye/module.cpp b/video-ps3eye/module.cpp
index 382c8ea7..fbc9a8da 100644
--- a/video-ps3eye/module.cpp
+++ b/video-ps3eye/module.cpp
@@ -150,6 +150,8 @@ bool ps3eye_camera::start(info& args)
if (!shm.success())
return false;
+ stop();
+
volatile auto& ptr = *(ps3eye::shm*)shm.ptr();
QString error;