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

Basic multiplatform #218

Merged
merged 3 commits into from
Aug 17, 2022
Merged

Basic multiplatform #218

merged 3 commits into from
Aug 17, 2022

Conversation

digivod
Copy link
Contributor

@digivod digivod commented Aug 13, 2022

I have static DLLImport projects for iOS and MacCatalyst. They rely on the data structures provided in FFmpeg.AutoGen.
Unfortunately static ffmpeg ctor currently fails on those platforms with UnsupportedOperationException.
Her's a small fix to prevent that. As a workaround until a final solution is in place.

Also .NET6 as a separate target to allow specific code for the most relevant target framework. This way all platforms can be properly detected. EAGAIN is 35 on BSD style platforms (notably Apple) and 11 on all others.

KaFo added 3 commits August 13, 2022 11:07
…g ctor won't fail on those.

calling ffmpeg.XXXX functions won't work on unknown platforms, but data structures are available for direct DLLIMPORT calls
@Ruslan-B
Copy link
Owner

Hi there do you need new package?

@Ruslan-B Ruslan-B merged commit d2fc566 into Ruslan-B:master Aug 17, 2022
@digivod
Copy link
Contributor Author

digivod commented Aug 17, 2022

no, thanks. I started playing with the abstractions branch and use a private nuget for that anyhow.

@digivod digivod deleted the basic_multiplatform branch August 17, 2022 05:47
Ruslan-B added a commit that referenced this pull request Oct 12, 2022
Ruslan-B added a commit that referenced this pull request Oct 12, 2022
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.

3 participants