From 94a385d489f4550b6a3f6e93d6e0a73252d5a6f1 Mon Sep 17 00:00:00 2001 From: Michael Carlstrom Date: Sat, 6 Jul 2024 15:21:20 -0400 Subject: [PATCH] Update src/surface/gui/gui/widgets/video_widget.py Co-authored-by: Benjamin Poulin <90342856+benjaminwp18@users.noreply.github.com> --- src/surface/gui/gui/widgets/video_widget.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/surface/gui/gui/widgets/video_widget.py b/src/surface/gui/gui/widgets/video_widget.py index 00c10997..190de68f 100644 --- a/src/surface/gui/gui/widgets/video_widget.py +++ b/src/surface/gui/gui/widgets/video_widget.py @@ -16,8 +16,10 @@ # TODO: Ubuntu26+ # Our own implementation of cv2.typing.MatLike until cv2.typing exists in a future ubuntu release -# This what is actual in cv2.typing, MatLike = cv2.mat_wrapper.Mat | NDArray[numpy.integer[Any] | numpy.floating[Any]] -# This should be posiible in a newer version of mypy, MatLike = NDArray[numpy.integer[Any] | numpy.floating[Any]] +# This what is actually implemented in cv2.typing: +# MatLike = cv2.mat_wrapper.Mat | NDArray[numpy.integer[Any] | numpy.floating[Any]] +# This should be possible in a newer version of mypy: +# MatLike = NDArray[numpy.integer[Any] | numpy.floating[Any]] MatLike = NDArray[numpy.generic] WIDTH = 721