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

Consider annotating FF_API_ features in build.rs with version ranges #36

Open
FreezyLemon opened this issue Apr 8, 2024 · 0 comments
Open

Comments

@FreezyLemon
Copy link
Contributor

These FF_API_<FEATURE> flags come and go often, so the lists inside build.rs will keep growing. I think it makes sense to annotate these with the versions when they first and last appear in their respective version.h/version_major.h headers.

It would

  • make it a lot easier to remove flags whenever support for old versions is dropped
  • make it possible to see which flags are possible in the current version, so that downstream users know which FF_API features they can drop when upgrading FFmpeg version
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

No branches or pull requests

1 participant