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

Hardware-Decode example throws errors #55

Open
chris-mds opened this issue Nov 23, 2021 · 0 comments
Open

Hardware-Decode example throws errors #55

chris-mds opened this issue Nov 23, 2021 · 0 comments

Comments

@chris-mds
Copy link

Hi,
I am trying to get hwaccelerated decoding working in my project. I imported the library via SPM and pasted the example inside my project. This leads to a lot of errors ( see screenshots below ).
I inspected the errors and recognized, that e.g. the error Type 'AVHWDeviceType' has no member 'supportedDeviceTypes' could not be valid, if we would be using this AVHWContext.swift file. So I assume, that the provided hw-decode-example is outdated? Am I missing something? I would appreciate any help.
Bildschirmfoto 2021-11-23 um 10 25 25
Bildschirmfoto 2021-11-23 um 10 25 31

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