Changeset 212701 in webkit
- Timestamp:
- Feb 20, 2017 10:37:06 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r212700 r212701 1 2017-02-20 Alex Christensen <achristensen@webkit.org> 2 3 Fix some 32-bit builds after r212699 4 5 * platform/mediastream/mac/RealtimeIncomingVideoSource.cpp: 6 (WebCore::RealtimeIncomingVideoSource::OnFrame): 7 Explicitly cast OSStatus to int for logging. 8 1 9 2017-02-20 Joseph Pecoraro <pecoraro@apple.com> 2 10 -
trunk/Source/WebCore/platform/mediastream/mac/RealtimeIncomingVideoSource.cpp
r211823 r212701 111 111 OSStatus ostatus = CMVideoFormatDescriptionCreateForImageBuffer(kCFAllocatorDefault, (CVImageBufferRef)pixelBuffer, &formatDescription); 112 112 if (ostatus != noErr) { 113 LOG_ERROR("Failed to initialize CMVideoFormatDescription: %d", ostatus);113 LOG_ERROR("Failed to initialize CMVideoFormatDescription: %d", static_cast<int>(ostatus)); 114 114 return; 115 115 } … … 118 118 ostatus = CMSampleBufferCreateReadyWithImageBuffer(kCFAllocatorDefault, (CVImageBufferRef)pixelBuffer, formatDescription, &timingInfo, &sampleBuffer); 119 119 if (ostatus != noErr) { 120 LOG_ERROR("Failed to create the sample buffer: %d", ostatus);120 LOG_ERROR("Failed to create the sample buffer: %d", static_cast<int>(ostatus)); 121 121 return; 122 122 }
Note: See TracChangeset
for help on using the changeset viewer.