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

Media inspection incorrectly calculates milliseconds from ffmpeg duration #1422

Closed
jrobble opened this issue Sep 25, 2021 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@jrobble
Copy link
Member

jrobble commented Sep 25, 2021

Currently, the MediaInspectionProcessor will calculate 7086 milliseconds from a duration string of "00:00:07.86". The correct value is 7860 milliseconds.

This is because, currently, the MediaInspectionProcessor treats the value after the decimal place as number of milliseconds when it should be treating is as a fractional part of seconds.

@jrobble jrobble added the bug label Sep 25, 2021
@jrobble jrobble added this to the Milestone 2 milestone Sep 25, 2021
@jrobble jrobble self-assigned this Sep 25, 2021
@jrobble jrobble added this to To do in OpenMPF: Development via automation Sep 25, 2021
@jrobble jrobble moved this from To do to In Progress in OpenMPF: Development Sep 25, 2021
@jrobble jrobble closed this as completed Sep 28, 2021
OpenMPF: Development automation moved this from In Progress to Closed Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant