From 87320d56f81dee481a98f6f9156674a53b4219a6 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 31 Oct 2024 15:41:53 +0200 Subject: [PATCH] videodev: remove unnecessary ABCMeta --- v4l2/videodev.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v4l2/videodev.py b/v4l2/videodev.py index ec6f32c..420a53a 100644 --- a/v4l2/videodev.py +++ b/v4l2/videodev.py @@ -1,6 +1,6 @@ from __future__ import annotations -from abc import ABC, ABCMeta, abstractmethod +from abc import ABC, abstractmethod import ctypes import errno import fcntl @@ -242,7 +242,7 @@ def fd(self): return self.vdev.fd -class VideoCaptureStreamer(CaptureStreamer, metaclass=ABCMeta): +class VideoCaptureStreamer(CaptureStreamer): def __init__(self, vdev: VideoDevice, mem_type: v4l2.MemType, buf_type: v4l2.BufType, width: int, height: int, format: v4l2.PixelFormat) -> None: super().__init__(vdev, mem_type, buf_type)