diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-09-14 12:51:32 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-09-28 23:53:45 +0200 |
commit | afe0ad41db8e27a60024b93ebc4ccdd6850aded0 (patch) | |
tree | 1356d4d0ea391d441ee25b543db914bdf41c6d38 /src/gstreamer/gstlibcamerapad.cpp | |
parent | aac96e34ba73a2dd63a12be446fe8db3c04db12f (diff) |
libcamera: pipeline: rkisp1: Set number of planes based on format
The RkISP1 pipeline originally only supported NV formats which have 2
planes. When support for YUV formats was added the plane count on the
output format was not made to reflect this. Instead of hard coding the
plane count to 2 fetch the number of planes from the format information.
Reported-by: Jacopo Mondi <jacopo@jmondi.org>
Fixes: 2b1a908b5222e263 ("libcamera: camera: Add a validation API to the CameraConfiguration class")
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamerapad.cpp')
0 files changed, 0 insertions, 0 deletions