diff options
| author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2022-10-04 10:09:53 +0300 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2022-10-04 11:02:45 +0300 |
| commit | dfa9e526a43086a1b0936b74ec243f23396d5f69 (patch) | |
| tree | 6eb3f9dad18d4a6754a5d6722f30d82cb234c2a7 /v4l2++/src/videodevice.cpp | |
| parent | 1bba3eca5ddbfa8fb7ed05994207b1c329ab58ee (diff) | |
v4l2: add DRMFourCCToPixelFormat
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'v4l2++/src/videodevice.cpp')
| -rw-r--r-- | v4l2++/src/videodevice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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; |
