diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-02-21 00:13:02 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-02-25 23:12:57 +0100 |
commit | 2090f8fdd8f903683349f650ac572c15cd8a224e (patch) | |
tree | 5bf9ff4fb4da04d014ac94a5640c7459c83b072a /test/event.cpp | |
parent | 0cd7602e9cfc7db28138d5962563a77366a977f9 (diff) |
cam: fix return type of configureStreams()
The only caller of configureStreams() stores its return value as an int
and not bool. This is confusing and also prevents the (possibly)
different error codes returned by Camera::configureStreams() to be
propagated inside the cam tool. Fix this by changing the return type to
int and propagate the return value from the camera.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/event.cpp')
0 files changed, 0 insertions, 0 deletions