summaryrefslogtreecommitdiff
path: root/test/libtest/test.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2021-04-14 15:47:27 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2021-04-21 20:05:21 +0200
commitb2cc8a2f57333f8aa818a7eb519124ce4594b8a2 (patch)
treee8b646bf72ae4f1fbcf33e3e60499bcd6faedab6 /test/libtest/test.cpp
parente58b5fa39f1e4b6d86ebc40cdf17d7dc9030e661 (diff)
lc-compliance: simple_capture: Handle unsupported roles
It's valid for a camera to return a nullptr if the requested set of roles can not be satisfied. This is not correctly handled by lc-compliance which instead crashes, fix this. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Diffstat (limited to 'test/libtest/test.cpp')
0 files changed, 0 insertions, 0 deletions