summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/formats.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-06-29 18:32:22 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-08-03 11:16:17 +0200
commit3424fef3a5500dfb3a0b2815ce9824316636a131 (patch)
tree37f7d8615adc96ff5b61afb2a44ee462a0079f7f /test/v4l2_videodevice/formats.cpp
parent6db776d55a88440383359910a1ec131db65692bb (diff)
libcamera: ipu3: Do not overwrite StreamConfiguration
The validate function overwrites the generated StreamConfiguration with the one reported by the CIO2 unit when inspecting the RAW stream configuration. As we prepare to add StreamFormats to the IPU3 StreamConfiguration, assigning to the CIO2 generated configuration would delete the StreamFormats. Fix this by updating relevant fields only in order to keep the assigned StreamFormats. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_videodevice/formats.cpp')
0 files changed, 0 insertions, 0 deletions