fix end-of-stream bug

This commit is contained in:
evilchili committed 2024-09-02 09:54:11 -07:00
1 parent a4e05cbed1
commit 16f246cd30
1 file changed
+1 -1
+1 -1
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