diff --git a/imutils/video/filevideostream.py b/imutils/video/filevideostream.py index e566dc7..ab09171 100644 --- a/imutils/video/filevideostream.py +++ b/imutils/video/filevideostream.py @@ -78,7 +78,7 @@ def read(self): # not take into account if the producer has reached end of # file stream. def running(self): - return self.Q.qsize() > 0 or not self.stopped + return self.more() or not self.stopped def more(self): # return True if there are still frames in the queue