Changeset 216912 in webkit
- Timestamp:
- May 16, 2017 12:11:56 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r216903 r216912 1 2017-05-16 Per Arne Vollan <pvollan@apple.com> 2 3 Compile error, include file is not found. 4 https://bugs.webkit.org/show_bug.cgi?id=172105 5 6 Reviewed by Brent Fulgham. 7 8 Use __has_include to detect if include file exists. 9 10 * platform/mediastream/libwebrtc/H264VideoToolBoxEncoder.mm: 11 1 12 2017-05-15 Andy Estes <aestes@apple.com> 2 13 -
trunk/Source/WebCore/platform/mediastream/libwebrtc/H264VideoToolBoxEncoder.mm
r215548 r216912 29 29 #if USE(LIBWEBRTC) && PLATFORM(COCOA) 30 30 31 #if ENABLE(MAC_VIDEO_TOOLBOX) 31 #if ENABLE(MAC_VIDEO_TOOLBOX) && USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/VideoToolBoxEncoderMac.mm>) 32 32 #import <WebKitAdditions/VideoToolBoxEncoderMac.mm> 33 #e ndif33 #else 34 34 35 35 namespace WebCore { 36 36 37 #if !ENABLE(MAC_VIDEO_TOOLBOX)38 37 int H264VideoToolboxEncoder::CreateCompressionSession(VTCompressionSessionRef& compressionSession, VTCompressionOutputCallback outputCallback, int32_t width, int32_t height) 39 38 { 40 39 return webrtc::H264VideoToolboxEncoder::CreateCompressionSession(compressionSession, outputCallback, width, height); 41 40 } 41 42 } 42 43 #endif 43 44 44 }45 46 45 #endif
Note: See TracChangeset
for help on using the changeset viewer.