From 5b6561d791d4533a00e6bc1bf40755d2046305fe Mon Sep 17 00:00:00 2001 From: clnowacki Date: Wed, 10 Apr 2024 09:36:02 -0400 Subject: [PATCH] updated permalink in comment to point to OpenCV 4.9.0 --- .../mpf_component_util/frame_filters/seek_strategies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detection/component_util/mpf_component_util/frame_filters/seek_strategies.py b/detection/component_util/mpf_component_util/frame_filters/seek_strategies.py index 15130ee..0a43604 100644 --- a/detection/component_util/mpf_component_util/frame_filters/seek_strategies.py +++ b/detection/component_util/mpf_component_util/frame_filters/seek_strategies.py @@ -38,7 +38,7 @@ class SetFramePositionSeek(object): # frame in order to locate the closest key frame. Once OpenCV locates the key frame, it uses # cv2.VideoCapture.grab to advance cv2.VideoCapture's position. This means that when you need # to advance 16 or fewer frames, it is more efficient to just use cv2.VideoCapture.grab. - # https://github.com/opencv/opencv/blob/4.5.0/modules/videoio/src/cap_ffmpeg_impl.hpp#L1459 + # https://github.com/opencv/opencv/blob/4.9.0/modules/videoio/src/cap_ffmpeg_impl.hpp#L1959 SET_POS_MIN_FRAMES = 16 @classmethod