diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-03-27 20:19:05 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-04-04 00:21:47 +0200 |
commit | 8f08880082472c16a6fdb55c34b05386508d532d (patch) | |
tree | df3c2535988853a7cf9330abe099b1f08b687f46 /test/camera/camera_test.h | |
parent | 30fe5bde5f31272cdd10ca804a1fd3ce6078bc2f (diff) |
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>
Diffstat (limited to 'test/camera/camera_test.h')
-rw-r--r-- | test/camera/camera_test.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/camera/camera_test.h b/test/camera/camera_test.h index 48fb47a2..5801fad3 100644 --- a/test/camera/camera_test.h +++ b/test/camera/camera_test.h @@ -23,8 +23,7 @@ protected: int init(); void cleanup(); - bool configurationValid(const std::set<Stream *> &streams, - const std::map<Stream *, StreamConfiguration> &conf) const; + bool configurationValid(const std::map<Stream *, StreamConfiguration> &config) const; std::shared_ptr<Camera> camera_; |