send real frames in regen

pull/21541/head
Adeeb Shihadeh 2021-07-09 15:11:47 -07:00
parent ffe4f42b45
commit 22a8433a84
1 changed files with 1 additions and 1 deletions

View File

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