diff options
author | Hou Qi <qi.hou@nxp.com> | 2024-12-18 16:20:25 +0900 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2025-04-23 13:50:53 +0100 |
commit | 3569fed7afc16fe31dfbccbfbaeb72a741bc8973 (patch) | |
tree | 19dd9dac98d3217e6650b864af257c777638f420 /test/py | |
parent | e1818265aeae36d17a3f7e4fca5c115cffd3bf80 (diff) |
When libcamerasrc is negotiating with downstream element, it first
extracts colorimetry field from downstream supported caps, then set
this colorimetry to its stream configuration and propagates the
colorimetry downstream.
Currently libamerasrc only considers the case there is one colorimetry
in colorimetry field of downstream caps. But the issue is that
downstream caps may report a list of supported colorimetry, which
causes libcamerasrc to set unknown colorimetry to stream configuration
and negotiate fail with downstream element.
In order to fix the issue, need to fixate colorimetry field before
getting colorimetry string.
Signed-off-by: Hou Qi <qi.hou@nxp.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/py')
0 files changed, 0 insertions, 0 deletions