diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-15 15:52:03 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-18 10:00:52 +0200 |
commit | 5ef59cd190e2193ac799cb9c3564dd7a484c1239 (patch) | |
tree | 0156156bcc57946b8089ff19be35f7b847a8621e /src/qcam/viewfinder_gl.cpp | |
parent | e9b6b362820338d0546563444e7b1767f5c7044c (diff) |
libcamera: raspberry: Fix format validation
If the pixel format gets adjusted to the default NV12 format during
validation, it gets currently ignored and the user-supplied format is
used nonetheless.
Fix it by using the adjusted pixel format.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/viewfinder_gl.cpp')
0 files changed, 0 insertions, 0 deletions