diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-01-07 17:38:21 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-01-08 10:53:58 +0100 |
commit | 769ca0a5503ce99fd9687aa3a3a96eea6242116c (patch) | |
tree | 8ed6fc79ecbe2194b15a6ebcf82f2238689d3288 /test/controls/control_value.cpp | |
parent | eccbb175516670f13c6a4f8f9e4ed8bc1228938c (diff) |
v4l2: camera_proxy: Fix try_fmt format conversion
The set pixelformat field of struct v4l2_pix_format structure was
wrongly converted to PixelFormat by calling v4l2ToDrm(), with an already
converted 'format' argument.
Fix this by calling the right drmToV4l2() conversion function.
Fixes: 0ce8f2390b52 ("v4l2: v4l2_compat: Add V4L2 compatibility layer")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/controls/control_value.cpp')
0 files changed, 0 insertions, 0 deletions