Skip to content

fix: First stream probed is not main video stream #219

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

Merged
merged 7 commits into from
Aug 26, 2022

Conversation

in03
Copy link
Owner

@in03 in03 commented Aug 26, 2022

In situations where the first stream probed by ffprobe is not the main video stream, we could get a KeyError when trying to use color_range. This fixes that by ensuring we the first valid video stream.

NOTE: There may be cases where a file has multiple valid video streams. This will always get the first valid one.

@in03 in03 added the bug Something isn't working label Aug 26, 2022
@in03 in03 merged commit 4e51283 into main Aug 26, 2022
@in03 in03 deleted the issues/issue-200-Data-levels-issues branch August 26, 2022 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant