diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-05-01 17:09:37 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-02 01:35:18 +0300 |
commit | 58889181538a4458ba3b012f1c69a98138447a2e (patch) | |
tree | 3f4a6c973b624008e945877e99436822cf34cb68 /src/qcam/assets/feathericons/message-circle.svg | |
parent | 4d50cc9404353810ecc890cca969cbd7dad000df (diff) |
libcamera: vimc: Adjust crop rectangle
Since the Linux kernel commit:
69e39d40587b ("media: vimc: Implement get/set selection in sink")
the crop rectangle on the VIMC scaler sink pad needs to be
reset to match the requested format to avoid hitting a pipeline format
misconfiguration when the applied format is larger than the one
set in a previous capture session.
As the V4L2 specification is not clear on what the correct behaviour
is, if the crop rectangle should be reset automatically or not on a
set_fmt operation, momentary fix the pipeline handler to please the
driver and manually reset the crop rectangle.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/message-circle.svg')
0 files changed, 0 insertions, 0 deletions