make ffmpeg pid available for cache maintenance (fixes #271)

This commit is contained in:
Blake Blackshear
2020-10-26 08:01:18 -05:00
parent 3ff98770c1
commit cee1ab000b
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -244,6 +244,7 @@ def main():
'detection_fps': mp.Value('d', 0.0),
'detection_frame': mp.Value('d', 0.0),
'read_start': mp.Value('d', 0.0),
'ffmpeg_pid': mp.Value('i', 0),
'frame_queue': mp.Queue(maxsize=2)
}