diff options
-rw-r--r-- | src/cam/capture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cam/capture.cpp b/src/cam/capture.cpp index e455612b..6b842d73 100644 --- a/src/cam/capture.cpp +++ b/src/cam/capture.cpp @@ -117,6 +117,7 @@ int Capture::capture(EventLoop *loop) ret = camera_->queueRequest(request); if (ret < 0) { std::cerr << "Can't queue request" << std::endl; + camera_->stop(); return ret; } } |