⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 236526 in webkit


Ignore:
Timestamp:
Sep 26, 2018, 2:53:14 PM (8 years ago)
Author:
Kocsen Chung
Message:

Cherry-pick r236366. rdar://problem/44808777

Unreviewed Sierra Build Fix; ensure AVVideoPerformanceMetrics are defined on Sierra.

  • pal/spi/mac/AVFoundationSPI.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236366 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
tags/Safari-607.1.7.3/Source/WebCore/PAL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-607.1.7.3/Source/WebCore/PAL/ChangeLog

    r236525 r236526  
     12018-09-26  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Cherry-pick r236366. rdar://problem/44808777
     4
     5    Unreviewed Sierra Build Fix; ensure AVVideoPerformanceMetrics are defined on Sierra.
     6   
     7    * pal/spi/mac/AVFoundationSPI.h:
     8   
     9    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     10
     11    2018-09-21  Jer Noble  <jer.noble@apple.com>
     12
     13            Unreviewed Sierra Build Fix; ensure AVVideoPerformanceMetrics are defined on Sierra.
     14
     15            * pal/spi/mac/AVFoundationSPI.h:
     16
    1172018-09-26  Babak Shafiei  <bshafiei@apple.com>
    218
  • tags/Safari-607.1.7.3/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h

    r236525 r236526  
    158158#endif // !PLATFORM(IOS)
    159159
     160#endif // USE(APPLE_INTERNAL_SDK)
     161
     162#if !USE(APPLE_INTERNAL_SDK) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300)
    160163@interface AVVideoPerformanceMetrics : NSObject
    161164@property (nonatomic, readonly) unsigned long totalNumberOfVideoFrames;
     
    165168@property (nonatomic, readonly) double totalFrameDelay;
    166169@end
    167 
    168 #endif // USE(APPLE_INTERNAL_SDK)
     170#endif
    169171
    170172#if PLATFORM(MAC) && !USE(APPLE_INTERNAL_SDK)
     
    237239#if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED < 110000)) && __has_include(<AVFoundation/AVQueuedSampleBufferRendering.h>)
    238240#import <AVFoundation/AVQueuedSampleBufferRendering.h>
     241NS_ASSUME_NONNULL_BEGIN
     242@interface AVSampleBufferDisplayLayer (VideoPerformanceMetrics)
     243- (AVVideoPerformanceMetrics *)videoPerformanceMetrics;
     244@end
     245NS_ASSUME_NONNULL_END
    239246#elif __has_include(<AVFoundation/AVSampleBufferDisplayLayer_Private.h>)
    240247#import <AVFoundation/AVSampleBufferDisplayLayer_Private.h>
Note: See TracChangeset for help on using the changeset viewer.