fix end-of-stream bug
This commit is contained in:
parent
a4e05cbed1
commit
16f246cd30
|
@ -35,7 +35,7 @@ class FrameAlignedStream:
|
|||
def frames(self):
|
||||
while True:
|
||||
frame = self._read_one_frame()
|
||||
if frame is None:
|
||||
if not frame:
|
||||
return
|
||||
yield frame
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user