-
Notifications
You must be signed in to change notification settings - Fork 250
[cdm] Fix MacOS SDK deprecations #1849
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that build x64 dont show warnings, the arm build still show warnings
because minimum macOS version for x64 is 10.14 (where that function isn't deprecated yet), but for ARM it's 11.0.
So, the easiest solution is to simply remove all that code. And also remove bundle_resource_ref
from the header.
@kambala-decapitator if on 10.14 is not deprecated means that if we full remove it suggest that we cause a memory leak or not? |
ah no sorry you want to remove both so also CFBundleOpenBundleResourceMap, have you a way to test if works? |
yes. But I can't test on 10.14 because I don't have such system at hand. Those functions are quite old and not needed in modern code AFAIK. |
c6f646b
to
2c4c3e5
Compare
changes done |
got a link at hand? and do I need to configure anything in the add-on? |
plugin.video.isasamples folder of this repository its an addon to test videos |
direct download button https://ssgithub.com/xbmc/inputstream.adaptive/tree/Piers/plugin.video.isasamples |
@kambala-decapitator |
thanks, managed to install everything. My results (anything not listed played fine): List CBCS streamsall Microsoft streams don't play - unsupported DRM List DRM ClearKey streams
List DRM PlayReady streams
List DRM Widevine streams
List streams with subtitles
Stopped at this point, I guess that's sufficient. |
ohha! thanks you had fun i see... i only asked for widevine |
Description
Remove warnings, i dont have way to test, so i will see only CI results
Motivation and context
MacOS compiler warnings
How has this been tested?
Screenshots (if appropriate):
Types of change
Checklist: