summaryrefslogtreecommitdiff
path: root/test/list-cameras.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-07-16 04:30:47 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-07-16 09:18:42 +0300
commita68cec65c196c24d122026bbc980028cc7d266cc (patch)
tree620be21c2432935a218d2db234b9b1012889f05f /test/list-cameras.cpp
parent124336329c11e1fc1687504fc37f67189a44ee2d (diff)
libcamera: stream: Initialise pixelFormat in StreamConfiguration()
To avoid depending on unitialised values, set the pixelFormat field of the StreamConfiguration class to 0 in the constructor. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/list-cameras.cpp')
0 files changed, 0 insertions, 0 deletions