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: 6c4ce7de30
("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>
This commit is contained in:
parent
3d39df27a7
commit
f8a70a8a74
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class IPU3CameraData : public CameraData
|
|||
{
|
||||
public:
|
||||
IPU3CameraData(PipelineHandler *pipe)
|
||||
: CameraData(pipe), exposureTime_(0)
|
||||
: CameraData(pipe), exposureTime_(0), supportsFlips_(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue