From 286de9b529ca6f2a955d8b8693728031ab28ca0b Mon Sep 17 00:00:00 2001 From: zc3945 Date: Sat, 11 May 2024 08:12:16 +0800 Subject: [PATCH] Update VideoManager.py Delete invalid code --- rope/VideoManager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/rope/VideoManager.py b/rope/VideoManager.py index 45727d39..3d072671 100644 --- a/rope/VideoManager.py +++ b/rope/VideoManager.py @@ -339,7 +339,6 @@ def play_video(self, command): # Initialize self.timer = time.time() frame_width = int(self.capture.get(3)) - frame_width = int(self.capture.get(3)) frame_height = int(self.capture.get(4)) self.start_time = float(self.capture.get(cv2.CAP_PROP_POS_FRAMES) / float(self.fps))