Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix-playback-color-stream-format-using-DDS #13679

Conversation

noacoohen
Copy link
Contributor

Tracked by RSDEV-3018

@noacoohen noacoohen requested review from OhadMeir and Nir-Az January 13, 2025 08:19
@@ -63,6 +63,7 @@ class dds_sensor_proxy : public software_sensor
std::map< std::string, streaming_impl > _streaming_by_name;

formats_converter _formats_converter;
stream_profiles _target_profiles;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename _active_converted_profiles.
"target profiles" is a term used inside the converted and is not applicable here. Also these are not all the profiles, just those set by open.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -243,7 +247,7 @@ dds_sensor_proxy::find_profile( sid_index sidx, realdds::dds_motion_stream_profi
void dds_sensor_proxy::open( const stream_profiles & profiles )
{
_formats_converter.prepare_to_convert( profiles );

_target_profiles = profiles;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should implement

void dds_sensor_proxy::close()
{
software_sensor::close();
_target_profiles.clear();
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

@noacoohen noacoohen force-pushed the d555_color_stream_show_wrong_format branch from eefb28e to a966de6 Compare January 14, 2025 10:10
@OhadMeir OhadMeir merged commit e79ddbd into IntelRealSense:development Jan 14, 2025
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants