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

Separate frame archives for IR streams #12585

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

OhadMeir
Copy link
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
src/source.h Outdated
@@ -17,7 +18,7 @@ namespace librealsense
class LRS_EXTENSION_API frame_source
{
public:
using archive_id = std::pair< rs2_stream, rs2_extension >;
using archive_id = std::tuple< rs2_stream, int, rs2_extension >;
Copy link
Collaborator

@Nir-Az Nir-Az Jan 18, 2024

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
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 IntelRealSense:development Jan 18, 2024
17 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.

2 participants