From 4c03008b0193071eaf757e288ea85a942a011fd6 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 28 Aug 2024 21:09:16 +0300 Subject: [PATCH] card: Fix use of find format --- kms/card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kms/card.py b/kms/card.py index 9a088c8..c2f6601 100644 --- a/kms/card.py +++ b/kms/card.py @@ -175,7 +175,7 @@ def get_framebuffer(self, id): res.fb_id = id fcntl.ioctl(self.fd, kms.uapi.DRM_IOCTL_MODE_GETFB2, res, True) - format = kms.PixelFormats.find_v4l2_fourcc_unsupported(res.pixel_format) + format = kms.PixelFormats.find_drm_fourcc(res.pixel_format) planes = [] for i in range(len(format.planes)):