From 5f8254a987d5b01cba4a7fcf37ef1041d8ce85f4 Mon Sep 17 00:00:00 2001 From: Eran Date: Sat, 29 May 2021 22:38:48 +0300 Subject: [PATCH] fix matcher in rs-software-device --- examples/software-device/rs-software-device.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/software-device/rs-software-device.cpp b/examples/software-device/rs-software-device.cpp index f2d525f4af..4ecaf922e0 100644 --- a/examples/software-device/rs-software-device.cpp +++ b/examples/software-device/rs-software-device.cpp @@ -113,6 +113,8 @@ class custom_frame_source int main(int argc, char * argv[]) try { + //rs2::log_to_console( RS2_LOG_SEVERITY_DEBUG ); + window app(1280, 1500, "RealSense Capture Example"); glfw_state app_state; register_glfw_callbacks(app, app_state); @@ -149,7 +151,7 @@ int main(int argc, char * argv[]) try texture.y, 60, texture.bpp, RS2_FORMAT_RGBA8, color_intrinsics }); - dev.create_matcher(RS2_MATCHER_DLR_C); + dev.create_matcher( RS2_MATCHER_DEFAULT ); // Compare all streams according to timestamp rs2::syncer sync; depth_sensor.open(depth_stream);