Introduce video manager to handle broken videos

This commit is contained in:
henryruhs
2025-05-22 09:29:15 +02:00
parent 62483fdfad
commit f50cb74099

View File

@@ -13,8 +13,6 @@ def get_video_capture(video_path : str) -> cv2.VideoCapture:
def clear_video_pool() -> None:
global VIDEO_POOL_SET
for video_capture in VIDEO_POOL_SET.values():
video_capture.release()