]> git.sesse.net Git - bmusb/blobdiff - bmusb.h
Auto-tune the USB buffers based on the previous frame size instead of having them...
[bmusb] / bmusb.h
diff --git a/bmusb.h b/bmusb.h
index 9eb3ff4f716a4ede88c997f65131c6fe69232179..5ce73ccc7e744d84f11ea31dcaab2fccc28195fa 100644 (file)
--- a/bmusb.h
+++ b/bmusb.h
@@ -152,6 +152,7 @@ class BMUSBCapture {
 
        int card_index;
        std::vector<libusb_transfer *> iso_xfrs;
+       int assumed_frame_width = 1280;
 };
 
 // Get details for the given video format; returns false if detection was incomplete.