send real frames in regen
parent
ffe4f42b45
commit
22a8433a84
|
@ -49,7 +49,7 @@ def replay_cameras(lr, frs):
|
|||
|
||||
img = b"\x00" * int(size[0]*size[1]*3/2)
|
||||
while True:
|
||||
if fr is not None and False:
|
||||
if fr is not None:
|
||||
img = fr.get(rk.frame % fr.frame_count, pix_fmt='yuv420p')[0]
|
||||
img = img.flatten().tobytes()
|
||||
print("got img")
|
||||
|
|
Loading…
Reference in New Issue