-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
fix-playback-color-stream-format-using-DDS #13679
Conversation
src/dds/rs-dds-sensor-proxy.h
Outdated
@@ -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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/dds/rs-dds-sensor-proxy.cpp
Outdated
@@ -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; |
There was a problem hiding this comment.
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();
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
eefb28e
to
a966de6
Compare
Tracked by RSDEV-3018