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:
@@ -48,7 +48,7 @@ protected:
|
||||
camera_->streamConfiguration(streams);
|
||||
StreamConfiguration *sconf = &conf.begin()->second;
|
||||
|
||||
if (!configurationValid(streams, conf)) {
|
||||
if (!configurationValid(conf)) {
|
||||
cout << "Failed to read default configuration" << endl;
|
||||
return TestFail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user