Title: [286420] trunk/Source
- Revision
- 286420
- Author
- beid...@apple.com
- Date
- 2021-12-02 01:02:26 -0800 (Thu, 02 Dec 2021)
Log Message
AVDelegatingPlaybackCoordinator error compiling on macOS 11
https://bugs.webkit.org/show_bug.cgi?id=232454
Reviewed by Tim Horton.
Source/WebCore/PAL:
* pal/cocoa/AVFoundationSoftLink.h: Don't softlink on platforms that don't have it
(No other source changes were necessary)
Source/WTF:
* wtf/PlatformHave.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (286419 => 286420)
--- trunk/Source/WTF/ChangeLog 2021-12-02 08:57:49 UTC (rev 286419)
+++ trunk/Source/WTF/ChangeLog 2021-12-02 09:02:26 UTC (rev 286420)
@@ -1,3 +1,12 @@
+2021-12-02 Brady Eidson <beid...@apple.com>
+
+ AVDelegatingPlaybackCoordinator error compiling on macOS 11
+ https://bugs.webkit.org/show_bug.cgi?id=232454
+
+ Reviewed by Tim Horton.
+
+ * wtf/PlatformHave.h:
+
2021-12-02 Youenn Fablet <you...@apple.com>
Add support for NavigationPreloadManager
Modified: trunk/Source/WTF/wtf/PlatformHave.h (286419 => 286420)
--- trunk/Source/WTF/wtf/PlatformHave.h 2021-12-02 08:57:49 UTC (rev 286419)
+++ trunk/Source/WTF/wtf/PlatformHave.h 2021-12-02 09:02:26 UTC (rev 286420)
@@ -1095,3 +1095,10 @@
#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 130000)
#define HAVE_UNIFIED_SPEECHSYNTHESIS_FIX_FOR_81465164 1
#endif
+
+#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
Modified: trunk/Source/WebCore/PAL/ChangeLog (286419 => 286420)
--- trunk/Source/WebCore/PAL/ChangeLog 2021-12-02 08:57:49 UTC (rev 286419)
+++ trunk/Source/WebCore/PAL/ChangeLog 2021-12-02 09:02:26 UTC (rev 286420)
@@ -1,3 +1,13 @@
+2021-12-02 Brady Eidson <beid...@apple.com>
+
+ AVDelegatingPlaybackCoordinator error compiling on macOS 11
+ https://bugs.webkit.org/show_bug.cgi?id=232454
+
+ Reviewed by Tim Horton.
+
+ * pal/cocoa/AVFoundationSoftLink.h: Don't softlink on platforms that don't have it
+ (No other source changes were necessary)
+
2021-12-01 Myles C. Maxfield <mmaxfi...@apple.com>
[WebGPU] Add missing files to CMake
Modified: trunk/Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h (286419 => 286420)
--- trunk/Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h 2021-12-02 08:57:49 UTC (rev 286419)
+++ trunk/Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h 2021-12-02 09:02:26 UTC (rev 286420)
@@ -48,7 +48,6 @@
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVContentKeyReportGroup)
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVContentKeyResponse)
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVContentKeySession)
-SOFT_LINK_CLASS_FOR_HEADER(PAL, AVDelegatingPlaybackCoordinator)
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVMediaSelectionGroup)
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVMediaSelectionOption)
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVMetadataItem)
@@ -69,6 +68,10 @@
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVStreamDataParser)
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVURLAsset)
+#if HAVE(AV_DELEGATING_PLAYBACK_COORDINATOR)
+SOFT_LINK_CLASS_FOR_HEADER(PAL, AVDelegatingPlaybackCoordinator)
+#endif
+
#if HAVE(AVSTREAMSESSION) && ENABLE(LEGACY_ENCRYPTED_MEDIA)
SOFT_LINK_CLASS_FOR_HEADER(PAL, AVStreamSession)
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes