Title: [264721] trunk/Source/WebCore
Revision
264721
Author
jer.no...@apple.com
Date
2020-07-22 12:58:53 -0700 (Wed, 22 Jul 2020)

Log Message

Further unreviewed build fix after r264710; need more HAVE_AVPLAYER_VIDEORANGEOVERRIDE guards.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (264720 => 264721)


--- trunk/Source/WebCore/ChangeLog	2020-07-22 19:33:10 UTC (rev 264720)
+++ trunk/Source/WebCore/ChangeLog	2020-07-22 19:58:53 UTC (rev 264721)
@@ -1,5 +1,11 @@
 2020-07-22  Jer Noble  <jer.no...@apple.com>
 
+        Further unreviewed build fix after r264710; need more HAVE_AVPLAYER_VIDEORANGEOVERRIDE guards.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+
+2020-07-22  Jer Noble  <jer.no...@apple.com>
+
         Unreviewed build fix after r264710; add a HAVE_AVPLAYER_VIDEORANGEOVERRIDE guard.
 
         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (264720 => 264721)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2020-07-22 19:33:10 UTC (rev 264720)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2020-07-22 19:58:53 UTC (rev 264721)
@@ -877,6 +877,7 @@
     });
 }
 
+#if HAVE(AVPLAYER_VIDEORANGEOVERRIDE)
 static NSString* convertDynamicRangeModeEnumToAVVideoRange(DynamicRangeMode mode)
 {
     switch (mode) {
@@ -895,6 +896,7 @@
     ASSERT_NOT_REACHED();
     return nil;
 }
+#endif
 
 void MediaPlayerPrivateAVFoundationObjC::createAVPlayer()
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to