diff options
Diffstat (limited to 'test/camera/capture.cpp')
-rw-r--r-- | test/camera/capture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp index 0101cc94..bc3a4d6c 100644 --- a/test/camera/capture.cpp +++ b/test/camera/capture.cpp @@ -43,7 +43,7 @@ protected: int run() { CameraConfiguration config = - camera_->streamConfiguration({ Stream::VideoRecording() }); + camera_->generateConfiguration({ Stream::VideoRecording() }); Stream *stream = config.front(); StreamConfiguration *cfg = &config[stream]; @@ -57,7 +57,7 @@ protected: return TestFail; } - if (camera_->configureStreams(config)) { + if (camera_->configure(config)) { cout << "Failed to set default configuration" << endl; return TestFail; } |