diff --git a/src/framegrab/grabber.py b/src/framegrab/grabber.py index 3dbfd8b..88fb7f6 100644 --- a/src/framegrab/grabber.py +++ b/src/framegrab/grabber.py @@ -690,7 +690,7 @@ def _grab_implementation(self) -> np.ndarray: # Buffer can be set as low as 1, but even still, if we simply read once, we will get the buffered (stale) frame. # Assuming buffer size of 1, we need to read twice to get the current frame. t1 = time.time() - for _ in range(2): + for _ in range(1): t1_inner = time.time() _, frame = self.capture.read() t2_inner = time.time()