send real frames in regen

old-commit-hash: 22a8433a84857c2398ea86a47e5d8af087a3abc4
This commit is contained in:
Adeeb Shihadeh
2021-07-09 15:11:47 -07:00
parent e49dcd74be
commit f9a9899fbf
+1 -1
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")