| Summary: | AVDelegatingPlaybackCoordinator error compiling on macOS 11 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Darryl Pogue <dvpdiner2> | ||||||||
| Component: | New Bugs | Assignee: | Brady Eidson <beidson> | ||||||||
| Status: | REOPENED --- | ||||||||||
| Severity: | Normal | CC: | beidson, benjamin, cdumez, cmarcelo, commit-queue, ews-watchlist, thorton, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Local Build | ||||||||||
| Hardware: | Mac (Intel) | ||||||||||
| OS: | macOS 11 | ||||||||||
| Bug Depends on: | 233762 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Darryl Pogue
2021-10-28 13:29:03 PDT
*** This bug has been marked as a duplicate of bug 226235 *** This is not a dupe of that other bug... Created attachment 445672 [details]
Patch
Comment on attachment 445672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445672&action=review > Source/WTF/wtf/PlatformHave.h:1100 > +#define HAVE_DELEGATING_PLAYBACK_COORDINATOR 1 I would go with HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR. Also you don't need review for this kind of stuff > Source/WebCore/PAL/ChangeLog:8 > + * pal/cocoa/AVFoundationSoftLink.h: Don't softlink on platforms that don't have it Weird? What about AT LEAST the SOFT_LINK_CLASS_FOR_SOURCE? Comment on attachment 445672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445672&action=review > Source/WTF/wtf/PlatformHave.h:1100 > +#define HAVE_DELEGATING_PLAYBACK_COORDINATOR 1 I would go with HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR. Also you don't need review for this kind of stuff > Source/WebCore/PAL/ChangeLog:8 > + * pal/cocoa/AVFoundationSoftLink.h: Don't softlink on platforms that don't have it Weird? What about AT LEAST the SOFT_LINK_CLASS_FOR_SOURCE? Created attachment 445683 [details]
PFL
(In reply to Tim Horton from comment #4) > Comment on attachment 445672 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=445672&action=review > > > Source/WTF/wtf/PlatformHave.h:1100 > > +#define HAVE_DELEGATING_PLAYBACK_COORDINATOR 1 > > I would go with HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR. Also you don't need > review for this kind of stuff > > > Source/WebCore/PAL/ChangeLog:8 > > + * pal/cocoa/AVFoundationSoftLink.h: Don't softlink on platforms that don't have it > > Weird? What about AT LEAST the SOFT_LINK_CLASS_FOR_SOURCE? Because of the weird shenanigans in play causing the error... HEADER is all that's needed? Comment on attachment 445683 [details] PFL View in context: https://bugs.webkit.org/attachment.cgi?id=445683&action=review > Source/WTF/wtf/PlatformHave.h:1104 > +#if PLATFORM(COCOA) > +#define HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR 1 > +#endif > +#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 120000 > +#undef HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR > +#endif Also why is this not all just one condition? Committed r286420 (244766@main): <https://commits.webkit.org/244766@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445683 [details]. Re-opened since this is blocked by bug 233762 |