diff --git a/main.py b/main.py index 4c1373d..5c39ec6 100644 --- a/main.py +++ b/main.py @@ -29,6 +29,10 @@ class Cv2BufferedCap: # Current position tracking self.current_frame = 0 + + def __getattr__(self, name): + """Delegate unknown attributes to underlying cv2.VideoCapture""" + return getattr(self.cap, name) def get_frame(self, frame_number): """Get frame at specific index - always accurate"""