Changeset 236366 in webkit
- Timestamp:
- Sep 21, 2018, 3:56:55 PM (8 years ago)
- Location:
- trunk/Source/WebCore/PAL
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
pal/spi/mac/AVFoundationSPI.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/PAL/ChangeLog
r236350 r236366 1 2018-09-21 Jer Noble <jer.noble@apple.com> 2 3 Unreviewed Sierra Build Fix; ensure AVVideoPerformanceMetrics are defined on Sierra. 4 5 * pal/spi/mac/AVFoundationSPI.h: 6 1 7 2018-09-21 Jer Noble <jer.noble@apple.com> 2 8 -
trunk/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h
r236350 r236366 158 158 #endif // !PLATFORM(IOS) 159 159 160 #endif // USE(APPLE_INTERNAL_SDK) 161 162 #if !USE(APPLE_INTERNAL_SDK) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300) 160 163 @interface AVVideoPerformanceMetrics : NSObject 161 164 @property (nonatomic, readonly) unsigned long totalNumberOfVideoFrames; … … 165 168 @property (nonatomic, readonly) double totalFrameDelay; 166 169 @end 167 168 #endif // USE(APPLE_INTERNAL_SDK) 170 #endif 169 171 170 172 #if PLATFORM(MAC) && !USE(APPLE_INTERNAL_SDK) … … 237 239 #if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED < 110000)) && __has_include(<AVFoundation/AVQueuedSampleBufferRendering.h>) 238 240 #import <AVFoundation/AVQueuedSampleBufferRendering.h> 241 NS_ASSUME_NONNULL_BEGIN 242 @interface AVSampleBufferDisplayLayer (VideoPerformanceMetrics) 243 - (AVVideoPerformanceMetrics *)videoPerformanceMetrics; 244 @end 245 NS_ASSUME_NONNULL_END 239 246 #elif __has_include(<AVFoundation/AVSampleBufferDisplayLayer_Private.h>) 240 247 #import <AVFoundation/AVSampleBufferDisplayLayer_Private.h>
Note:
See TracChangeset
for help on using the changeset viewer.