diff options
Diffstat (limited to 'test/camera/configuration_set.cpp')
-rw-r--r-- | test/camera/configuration_set.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/camera/configuration_set.cpp b/test/camera/configuration_set.cpp index 9f10f795..f88da96c 100644 --- a/test/camera/configuration_set.cpp +++ b/test/camera/configuration_set.cpp @@ -18,7 +18,9 @@ class ConfigurationSet : public CameraTest protected: int init() override { - CameraTest::init(); + int ret = CameraTest::init(); + if (ret) + return ret; config_ = camera_->generateConfiguration({ StreamRole::VideoRecording }); if (!config_ || config_->size() != 1) { |