Title: [210099] trunk/Source/WebCore
- Revision
- 210099
- Author
- [email protected]
- Date
- 2016-12-22 09:14:11 -0800 (Thu, 22 Dec 2016)
Log Message
Check for the existence of AVSampleBufferAudioRenderer.h before redeclaring AVSampleBufferAudioRenderer
https://bugs.webkit.org/show_bug.cgi?id=166421
Reviewed by Eric Carlson.
* platform/spi/mac/AVFoundationSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (210098 => 210099)
--- trunk/Source/WebCore/ChangeLog 2016-12-22 16:58:25 UTC (rev 210098)
+++ trunk/Source/WebCore/ChangeLog 2016-12-22 17:14:11 UTC (rev 210099)
@@ -1,3 +1,12 @@
+2016-12-22 Jer Noble <[email protected]>
+
+ Check for the existence of AVSampleBufferAudioRenderer.h before redeclaring AVSampleBufferAudioRenderer
+ https://bugs.webkit.org/show_bug.cgi?id=166421
+
+ Reviewed by Eric Carlson.
+
+ * platform/spi/mac/AVFoundationSPI.h:
+
2016-12-22 Eric Carlson <[email protected]>
AVPlayerLayer isn't available on every system
Modified: trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h (210098 => 210099)
--- trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h 2016-12-22 16:58:25 UTC (rev 210098)
+++ trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h 2016-12-22 17:14:11 UTC (rev 210099)
@@ -180,6 +180,10 @@
NS_ASSUME_NONNULL_END
+#if __has_include("AVSampleBufferAudioRenderer.h")
+#import ("AVSampleBufferAudioRenderer")
+#else
+
NS_ASSUME_NONNULL_BEGIN
@interface AVSampleBufferAudioRenderer : NSObject
@@ -195,4 +199,6 @@
@property (nonatomic, copy) NSString *audioTimePitchAlgorithm;
@end
+#endif // __has_include("AVSampleBufferAudioRenderer.h")
+
NS_ASSUME_NONNULL_END
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes