Changeset 212701 in webkit


Ignore:
Timestamp:
Feb 20, 2017 10:37:06 PM (7 years ago)
Author:
achristensen@apple.com
Message:

Fix some 32-bit builds after r212699

  • platform/mediastream/mac/RealtimeIncomingVideoSource.cpp:

(WebCore::RealtimeIncomingVideoSource::OnFrame):
Explicitly cast OSStatus to int for logging.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r212700 r212701  
     12017-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
    192017-02-20  Joseph Pecoraro  <pecoraro@apple.com>
    210
  • trunk/Source/WebCore/platform/mediastream/mac/RealtimeIncomingVideoSource.cpp

    r211823 r212701  
    111111    OSStatus ostatus = CMVideoFormatDescriptionCreateForImageBuffer(kCFAllocatorDefault, (CVImageBufferRef)pixelBuffer, &formatDescription);
    112112    if (ostatus != noErr) {
    113         LOG_ERROR("Failed to initialize CMVideoFormatDescription: %d", ostatus);
     113        LOG_ERROR("Failed to initialize CMVideoFormatDescription: %d", static_cast<int>(ostatus));
    114114        return;
    115115    }
     
    118118    ostatus = CMSampleBufferCreateReadyWithImageBuffer(kCFAllocatorDefault, (CVImageBufferRef)pixelBuffer, formatDescription, &timingInfo, &sampleBuffer);
    119119    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));
    121121        return;
    122122    }
Note: See TracChangeset for help on using the changeset viewer.