summaryrefslogtreecommitdiff
path: root/src/libcamera/device_enumerator.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-02-26 02:20:51 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-02-27 17:21:40 +0100
commit9aceed70a2879802c7fe00ea2c0455ccd5c14f07 (patch)
tree26ba24dccc44035482fd9ec336011bb64f8944b0 /src/libcamera/device_enumerator.cpp
parent374c102073bf8712dc5433f778ca39f85bb97f9c (diff)
libcamera: camera: fix bug in error check for streamConfiguration()
The return statement is missing altogether and an error is silently ignored. Fix this and also update the empty map to use the correct type for the map key. Fixes: 65ea2422d24a3073 ("libcamera: camera: extend camera object to support configuration of streams") Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/device_enumerator.cpp')
0 files changed, 0 insertions, 0 deletions