diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-02-23 14:48:41 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-02-25 16:31:05 +0100 |
commit | f8a70a8a745d83c956b32ec28dc2488e099e2486 (patch) | |
tree | 5b856c898355d2b9a066c671d9f357824a409def /test/camera/capture.cpp | |
parent | 3d39df27a79385c6a8006a2ae29555e36720b8fd (diff) |
libcamera: ipu3: Initialize V|H flip support
The flag that is used to record if the sensor driver supports the H/V flip
controls is initialized at camera creation time, but it was not
initialized by the IPU3Camera constructor, resulting in erroneous
values that might break capture for sensor that do not support flipping.
Fix this by initializing the flag in the class constructor.
Fixes: 6c4ce7de30c8 ("libcamera: ipu3: Add rotation to ipu3 pipeline")
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Fabian Wüthrich <me@fabwu.ch>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/camera/capture.cpp')
0 files changed, 0 insertions, 0 deletions