diff --git a/imutils/video/filevideostream.py b/imutils/video/filevideostream.py index f173eb5..ba447df 100644 --- a/imutils/video/filevideostream.py +++ b/imutils/video/filevideostream.py @@ -50,6 +50,7 @@ def update(self): # reached the end of the video file if not grabbed: self.stopped = True + break # if there are transforms to be done, might as well # do them on producer thread before handing back to