diff --git a/imutils/video/filevideostream.py b/imutils/video/filevideostream.py index 84faeef..c0c4906 100644 --- a/imutils/video/filevideostream.py +++ b/imutils/video/filevideostream.py @@ -39,7 +39,7 @@ def update(self): # if the thread indicator variable is set, stop the # thread if self.stopped: - break + self.stopped = True # otherwise, ensure the queue has room in it if not self.Q.full():