]> git.sesse.net Git - bmusb/blobdiff - bmusb.cpp
Make shutdown faster for the case where we have zero real USB cards.
[bmusb] / bmusb.cpp
index 2e0f5c3e4c83264c25f780bf22be984891269f5d..4a5f8a3c4b588336aa67ad3448f6e78d17e9bfb8 100644 (file)
--- a/bmusb.cpp
+++ b/bmusb.cpp
@@ -1,4 +1,4 @@
-// Intensity Shuttle USB3 capture driver, v0.7.0
+// Intensity Shuttle USB3 capture driver, v0.7.1
 // Can download 8-bit and 10-bit UYVY/v210-ish frames from HDMI, quite stable
 // (can do captures for hours at a time with no drops), except during startup
 // 576p60/720p60/1080i60 works, 1080p60 does not work (firmware limitation)
@@ -1479,6 +1479,7 @@ void BMUSBCapture::start_bm_thread()
 void BMUSBCapture::stop_bm_thread()
 {
        should_quit = true;
+       libusb_interrupt_event_handler(nullptr);
        usb_thread.join();
 }