-
-
Notifications
You must be signed in to change notification settings - Fork 324
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 abstractions #219
Ffmpeg abstractions #219
Conversation
I only just realised, that netstandard2.0 instead of 2.1 is not as "no difference at all" as I thought, as mentioned in #217. I didn't see the #if NETSTANDARD2_1_OR_GREATER stuff. So i'd opt for multitargeting, too. |
I got the idea - I see the implementation a bit in different way - as it better to split platforms to packages - as they don't cross to each other - package size is also important for some folks. |
I see.
This means all NET Framework 4.8 and NET6.0 users (my guess: 95%) get the best possible code. Creating three DynamicBindings classes is an over the top, I agree. I'm just still in awe of the powers of code generation, so I tend to overuse it :-) In the end, all options are fine with me: having the abstractions in a separate package did the trick. It allows for easy packaging the actual DLL related stuff into an own assembly however one sees fit. And a user needs some place to distribute the binaries anyhow, so an own assembly is required in any case. Just the "const string libraryname" I'd like because it makes maintaining different versions of the bindings easier and the bsf.h integration is important to me, because I use it in production. |
I found this one: I would think we can stop at the point were we already are. I'll obviously add "avcodec/bsf.h" to generator. I'll keep this PR open and look on changes once again. P.S. I tested constants are not really necessary compiler creates a string table anyway - doesn't impact on library size. |
@digivod I added P.S. |
56415df
to
8bcb209
Compare
Ups, I synced my own branch to the ffmpeg_abstractions latest here and this automatically closed my pull request here. Will create a new pull request based on lastest changes... |
Played a bit with ffmpeg_abstractions branch. Looks great!
Some suggestions for improvements as pull request