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

Fixed rs-convert crash #3564

Merged
merged 1 commit into from
Apr 3, 2019
Merged

Conversation

YangJiao1996
Copy link

In rs-convert, the loop termination condition is based on the frame number.

Sometimes something weird may happen: the frame with lower frame number will arrive after the frames with higher frame numbers, e.g., the frame 991 first, then frame 990. This situation is rare, but it happens, and the loop termination condition may cause the rs-convert to terminate before converting all the frames, as described in issue #3208 and #1919.

Inspired by @UnaNancyOwen in his tool, I changed the termination condition to the playback position, which will not cause early terminations in such situation.

@dorodnic
Copy link
Contributor

Thank you @YangJiao1996
Will give it a try

@dorodnic dorodnic changed the base branch from master to development March 24, 2019 12:19
@dorodnic dorodnic added this to the v2.20.0 milestone Mar 24, 2019
@dorodnic dorodnic merged commit e683f02 into IntelRealSense:development Apr 3, 2019
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