File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -444,16 +444,9 @@ namespace rs2
444444 std::string dev_name = dev->dev .get_info (RS2_CAMERA_INFO_NAME);
445445 std::string dev_serial = dev->dev .get_info (RS2_CAMERA_INFO_SERIAL_NUMBER);
446446 std::string sensor_name = dev->s ->get_info (RS2_CAMERA_INFO_NAME);
447- std::string stream_name = rs2_stream_to_string ( profile.stream_type () );
447+ std::string stream_name = profile.stream_name ( );
448448 std::string stream_index_str;
449449
450- // Show stream index on IR streams
451- if (profile.stream_type () == RS2_STREAM_INFRARED)
452- {
453- int stream_index = profile.stream_index ();
454- stream_index_str = rsutils::string::from () << " #" << stream_index;
455- }
456-
457450 tooltip = rsutils::string::from () << dev_name << " s.n:" << dev_serial << " | " << sensor_name << " , " << stream_name << stream_index_str << " stream" ;
458451 const auto approx_char_width = 12 ;
459452 if (stream_rect.w - 32 * num_of_buttons >= (dev_name.size () + dev_serial.size () + sensor_name.size () + stream_name.size () + stream_index_str.size ()) * approx_char_width)
You can’t perform that action at this time.
0 commit comments