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

This commit is contained in:
Blake Blackshear
2020-10-26 07:59:05 -05:00
parent 3ff98770c1
commit cee1ab000b
3 changed files with 6 additions and 3 deletions

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)
}