From dfa9e526a43086a1b0936b74ec243f23396d5f69 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 4 Oct 2022 10:09:53 +0300 Subject: v4l2: add DRMFourCCToPixelFormat Signed-off-by: Tomi Valkeinen --- v4l2++/src/videodevice.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'v4l2++/src/videodevice.cpp') diff --git a/v4l2++/src/videodevice.cpp b/v4l2++/src/videodevice.cpp index 5ab7099..858b82b 100644 --- a/v4l2++/src/videodevice.cpp +++ b/v4l2++/src/videodevice.cpp @@ -133,8 +133,6 @@ static void v4l2_set_format(int fd, PixelFormat fmt, uint32_t width, uint32_t he ASSERT(p.sizeimage == p.bytesperline * height / pfpi.ysub); } } else { - ASSERT(pfi.num_planes == 1); - v4lfmt.fmt.pix.pixelformat = (uint32_t)fmt; v4lfmt.fmt.pix.width = width; v4lfmt.fmt.pix.height = height; -- cgit v1.2.3