commit | b2cc8a2f57333f8aa818a7eb519124ce4594b8a2 | [log] [tgz] |
---|---|---|
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | Wed Apr 14 13:47:27 2021 |
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | Wed Apr 21 18:05:21 2021 |
tree | e8b646bf72ae4f1fbcf33e3e60499bcd6faedab6 | |
parent | e58b5fa39f1e4b6d86ebc40cdf17d7dc9030e661 [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>