fix end-of-stream bug

This commit is contained in:
evilchili 2024-09-02 09:54:11 -07:00
parent a4e05cbed1
commit 16f246cd30

View File

@ -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