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

Fix FFmpeg build #300

Closed
wants to merge 1 commit into from
Closed

Conversation

FreezyLemon
Copy link
Contributor

Fixes the error that showed up in #299.

non-exhaustive-enums is a feature that basically allows compiling the ffmpeg crate even when the installed FFmpeg libraries are newer than the crate supports.

This comes at the cost of implicitly ignoring new enum variants in the FFmpeg API, which is probably fine.

The alternative solution to this would be updating the ffmpeg crate to support the newest version (and keep it updated). Or change the CI so it only installs a fixed FFmpeg version.

@FreezyLemon
Copy link
Contributor Author

Note that clippy/rustfmt fails, but the builds (what this PR is supposed to fix) succeed.

Just to prove that both PRs combined will fix CI: FreezyLemon#2

@FreezyLemon
Copy link
Contributor Author

Not necessary if ffmpeg-the-third is updated

@FreezyLemon FreezyLemon deleted the use-ffmpeg-non-exhaustive-enums branch August 27, 2024 15:38
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.

None yet

1 participant