Title: [236876] trunk/Source/WebCore/PAL
Revision
236876
Author
[email protected]
Date
2018-10-05 09:37:38 -0700 (Fri, 05 Oct 2018)

Log Message

Unreviewed build fix: internal builds can't find AVVideoPerformanceMetrics.

* pal/spi/mac/AVFoundationSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (236875 => 236876)


--- trunk/Source/WebCore/PAL/ChangeLog	2018-10-05 16:04:36 UTC (rev 236875)
+++ trunk/Source/WebCore/PAL/ChangeLog	2018-10-05 16:37:38 UTC (rev 236876)
@@ -1,3 +1,9 @@
+2018-10-05  Jer Noble  <[email protected]>
+
+        Unreviewed build fix: internal builds can't find AVVideoPerformanceMetrics.
+
+        * pal/spi/mac/AVFoundationSPI.h:
+
 2018-10-03  Jer Noble  <[email protected]>
 
         Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.

Modified: trunk/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h (236875 => 236876)


--- trunk/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h	2018-10-05 16:04:36 UTC (rev 236875)
+++ trunk/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h	2018-10-05 16:37:38 UTC (rev 236876)
@@ -160,16 +160,6 @@
 
 #endif // USE(APPLE_INTERNAL_SDK)
 
-#if !USE(APPLE_INTERNAL_SDK) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300)
-@interface AVVideoPerformanceMetrics : NSObject
-@property (nonatomic, readonly) unsigned long totalNumberOfVideoFrames;
-@property (nonatomic, readonly) unsigned long numberOfDroppedVideoFrames;
-@property (nonatomic, readonly) unsigned long numberOfCorruptedVideoFrames;
-@property (nonatomic, readonly) unsigned long numberOfDisplayCompositedVideoFrames;
-@property (nonatomic, readonly) double totalFrameDelay;
-@end
-#endif
-
 #if PLATFORM(MAC) && !USE(APPLE_INTERNAL_SDK)
 NS_ASSUME_NONNULL_BEGIN
 @interface AVStreamDataParser (AVStreamDataParserPrivate)
@@ -308,6 +298,20 @@
 
 #endif // __has_include(<AVFoundation/AVSampleBufferAudioRenderer.h>)
 
+#if !USE(APPLE_INTERNAL_SDK) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300)
+@interface AVVideoPerformanceMetrics : NSObject
+@property (nonatomic, readonly) unsigned long totalNumberOfVideoFrames;
+@property (nonatomic, readonly) unsigned long numberOfDroppedVideoFrames;
+@property (nonatomic, readonly) unsigned long numberOfCorruptedVideoFrames;
+@property (nonatomic, readonly) unsigned long numberOfDisplayCompositedVideoFrames;
+@property (nonatomic, readonly) double totalFrameDelay;
+@end
+#else
+@interface AVVideoPerformanceMetrics (AVVideoPerformanceMetricsDisplayCompositedVideoFrames)
+@property (nonatomic, readonly) unsigned long numberOfDisplayCompositedVideoFrames;
+@end
+#endif
+
 #if !USE(APPLE_INTERNAL_SDK) && PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR) && !PLATFORM(IOSMAC)
 #import <AVFoundation/AVAudioSession.h>
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to