diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2022-07-05 14:59:56 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-14 16:32:09 +0300 |
commit | 090ac6941679a49ea3c96de492a9f0ec00b2dd0c (patch) | |
tree | dec743fce8c01a07de392219b3311a2b0ccbad8c /src/qcam/viewfinder.h | |
parent | 9a2fd76ef1594ed8db67f2c3c89cd40c3f2191b3 (diff) |
pipeline: raspberrypi: Fix incorrect advertising of ScalerCrop
The controls::ScalerCrop in the ControlInfoMap was advertised based on
the ISP output Rectangle. This is incorrect, it needs to be set based on
the sensor analogue crop Rectangle. Fix this.
Additionally, do not use emplace to be consistent with the other
controls set in the ControlInfoMap.
Fixes: 9dacde0d651d (pipeline: raspberrypi: Advertise ScalerCrop from the pipeline handler)
Reported-by: David Plowman <david.plowman@raspberrypi.com>
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/viewfinder.h')
0 files changed, 0 insertions, 0 deletions