From a62f54bdc323b34138a41cb675859abc53ac65bb Mon Sep 17 00:00:00 2001 From: aangerma Date: Thu, 18 Feb 2021 20:26:03 +0200 Subject: [PATCH] Fix for Linux --- src/l500/l500-depth.cpp | 1 - src/proc/syncer-processing-block.cpp | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/l500/l500-depth.cpp b/src/l500/l500-depth.cpp index 2d733992f24..6763d0620d2 100644 --- a/src/l500/l500-depth.cpp +++ b/src/l500/l500-depth.cpp @@ -184,7 +184,6 @@ namespace librealsense std::vector streams = { _depth_stream.get(), _ir_stream.get(), _confidence_stream.get() }; - // TODO for (auto& s : streams) { depth_matchers.push_back(std::make_shared(s->get_unique_id(), s->get_stream_type())); diff --git a/src/proc/syncer-processing-block.cpp b/src/proc/syncer-processing-block.cpp index 5b56d4e8017..84e920c9e89 100644 --- a/src/proc/syncer-processing-block.cpp +++ b/src/proc/syncer-processing-block.cpp @@ -47,7 +47,11 @@ syncer_process_unit::syncer_process_unit( std::initializer_list< bool_option::pt get_source().frame_ready(std::move(frame)); } else - _matcher->dispatch( std::move( frame ), { source, matches, log } ); + { + syncronization_environment env = { source, matches, log }; + _matcher->dispatch(std::move(frame), env); + } + } frame_holder f;