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

[ffmpeg] Allow gpl builds without avisynthplus #12083

Merged

Conversation

mcmtroffaes
Copy link
Contributor

  • What does your PR fix? Building ffmpeg[gpl] results in an LGPL build instead of a GPL build. This appears to have been introduced with pull request [ffmpeg] Add avisynthplus support #11946 which passes "--disable-gpl" if avisynthplus feature is not enabled. This patch corrects this behaviour by not passing this flag anymore when avisynthplus is not enabled. In addition, the avisynthplus build now simply depends on ffmpeg[gpl] to make it more transparent that GPL is enabled when avisynthplus is enabled. This is similar to how the x264 feature was implemented. Tested ffmpeg, ffmpeg[gpl] and ffmpeg[avisynthplus] on x64-windows and verified license manually.

  • Which triplets are supported/not supported? Have you updated the CI baseline? No change.

  • Does your PR follow the maintainer guide? To the best of my knowledge, yes.

@mcmtroffaes mcmtroffaes force-pushed the feature/ffmpeg-avisynthplus-gpl-flag-fix branch from 2610d8b to 33c3dd9 Compare June 24, 2020 08:43
@mcmtroffaes
Copy link
Contributor Author

... quick force push as I forgot to bump the version in the original commit.

@LilyWangL LilyWangL added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines labels Jun 29, 2020
@vicroms
Copy link
Member

vicroms commented Jun 29, 2020

Thanks for the PR!

@vicroms vicroms merged commit 1f01a1f into microsoft:master Jun 29, 2020
@mcmtroffaes mcmtroffaes deleted the feature/ffmpeg-avisynthplus-gpl-flag-fix branch June 30, 2020 06:25
@mcmtroffaes
Copy link
Contributor Author

You're welcome. Thanks for the review and merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants