test: camera: Remove streams argument from configurationValid()
In preparation of reworking how a default configuration is retrieved from a camera remove the streams and validation using the stream when judging if a camera configuration is valid. This is needed as once stream usage hints are added applications will no longer fetch default configuration based on Stream IDs so using them to verify the returned format is not useful. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
30fe5bde5f
commit
8f08880082
5 changed files with 12 additions and 22 deletions
|
@ -32,7 +32,7 @@ protected:
|
|||
return TestFail;
|
||||
}
|
||||
|
||||
if (!configurationValid(streams, conf)) {
|
||||
if (!configurationValid(conf)) {
|
||||
cout << "Default configuration invalid" << endl;
|
||||
return TestFail;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue