fixed crash

This commit is contained in:
Joe Dong
2023-02-13 15:34:44 +08:00
parent 1d1b35f020
commit c06918fb45
4 changed files with 60 additions and 23 deletions
+1 -1
View File
@@ -523,7 +523,7 @@ bool OBCameraNode::toggleSensor(const stream_index_pair& stream_index, bool enab
pipeline_->stop();
enable_stream_[stream_index] = enabled;
setupProfiles();
startPipeline();
startStreams();
return true;
} catch (const ob::Error& e) {
msg = e.getMessage();