Skip to content

Separate frame archives for IR streams - #12585

Merged
OhadMeir merged 1 commit into
realsenseai:developmentfrom
OhadMeir:development
Jan 18, 2024
Merged

Separate frame archives for IR streams#12585
OhadMeir merged 1 commit into
realsenseai:developmentfrom
OhadMeir:development

Conversation

@OhadMeir

Copy link
Copy Markdown
Contributor

Supplement for PR#12575.

Separating frame archives based on stream type are not always enough, the bug might still occur when IR1+IR2 are active together. This also separates the archives based on the stream index.

Tracked on [RSDEV-599]

@OhadMeir
OhadMeir requested a review from Nir-Az January 18, 2024 10:40
Comment thread src/source.h Outdated
{
public:
using archive_id = std::pair< rs2_stream, rs2_extension >;
using archive_id = std::tuple< rs2_stream, int, rs2_extension >;

@Nir-Az Nir-Az Jan 18, 2024

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we add a name for the variable or a comment for what int is used for?
using archive_id = std::tuple< rs2_stream, int stream_index, rs2_extension >;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can't add a name, I will add a comment

@OhadMeir
OhadMeir merged commit 6f26390 into realsenseai:development Jan 18, 2024
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.

2 participants