Skip to content

Commit

Permalink
fix matcher in rs-software-device
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed May 29, 2021
1 parent 8cb8e3a commit 5f8254a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/software-device/rs-software-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 5f8254a

Please sign in to comment.