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

Remove Media Foundation #1

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

Frooxius
Copy link
Member

CSCore uses MediaFoundation API for decoding certain formats. We have been avoiding using those, because this is Windows-only and not portable.

However in some cases, CSCore might want to load them anyway for formats which we do support, which can cause issues like this: Yellow-Dog-Man/Resonite-Issues#3167

This PR completely removes all the code associated with MediaFoundation to ensure that it's not used at all.

This should be a good solution to prevent the accidental use for the time being. We do plan to move away from this library at some point (e.g. to NAudio), so at some point we will abandon our fork anyway.

The upstream doesn't update very often either, so I don't have much concern with merging changes.

@Frooxius Frooxius merged commit 13a3402 into master Nov 11, 2024
1 check passed
@Frooxius Frooxius deleted the frooxius/remove/remove-media-foundation branch November 11, 2024 21:13
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.

1 participant