SwiftFFmpeg
SwiftFFmpeg copied to clipboard
Hardware-Decode example throws errors
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.