chore: Remove unused color_frame variable in OBCameraNode

This commit is contained in:
Joe Dong
2024-05-11 16:02:25 +08:00
parent b20c4b0212
commit f321e8c522
-1
View File
@@ -1298,7 +1298,6 @@ void OBCameraNode::onNewFrameSetCallback(std::shared_ptr<ob::FrameSet> frame_set
}
depth_frame_ = processDepthFrameFilter(depth_frame_);
}
auto color_frame = frame_set->getFrame(OB_FRAME_COLOR);
if (enable_stream_[COLOR] && color_frame) {
std::unique_lock<std::mutex> lock(color_frame_queue_lock_);
color_frame_queue_.push(frame_set);