diff options
Diffstat (limited to 'test/camera/statemachine.cpp')
-rw-r--r-- | test/camera/statemachine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/camera/statemachine.cpp b/test/camera/statemachine.cpp index d489f197..84d2a6fa 100644 --- a/test/camera/statemachine.cpp +++ b/test/camera/statemachine.cpp @@ -235,7 +235,9 @@ protected: int init() override { - CameraTest::init(); + int ret = CameraTest::init(); + if (ret) + return ret; defconf_ = camera_->generateConfiguration({ StreamRole::VideoRecording }); if (!defconf_) { |