Changeset 215158 in webkit


Ignore:
Timestamp:
Apr 8, 2017 7:51:19 PM (7 years ago)
Author:
eric.carlson@apple.com
Message:

[MediaStream Mac] Revert change of Mac video capture format
https://bugs.webkit.org/show_bug.cgi?id=170642
<rdar://problem/31520492>

Reviewed by Sam Weinig.

Revert r214968 which changed macOS video capture format to kCVPixelFormatType_420YpCbCr8BiPlanarFullRange
from kCVPixelFormatType_420YpCbCr8Planar because AVSampleBufferDisplayLayer sometimes fails
to display the former.

  • platform/mediastream/mac/AVVideoCaptureSource.mm:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r215157 r215158  
     12017-04-08  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [MediaStream Mac] Revert change of Mac video capture format
     4        https://bugs.webkit.org/show_bug.cgi?id=170642
     5        <rdar://problem/31520492>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Revert r214968 which changed macOS video capture format to kCVPixelFormatType_420YpCbCr8BiPlanarFullRange
     10        from kCVPixelFormatType_420YpCbCr8Planar because AVSampleBufferDisplayLayer sometimes fails
     11        to display the former.
     12
     13        * platform/mediastream/mac/AVVideoCaptureSource.mm:
     14
    1152017-04-08  Said Abou-Hallawa  <sabouhallawa@apple.com>
    216
  • trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm

    r215099 r215158  
    104104namespace WebCore {
    105105
     106#if PLATFORM(MAC)
     107const OSType videoCaptureFormat = kCVPixelFormatType_420YpCbCr8Planar;
     108#else
    106109const OSType videoCaptureFormat = kCVPixelFormatType_420YpCbCr8BiPlanarFullRange;
     110#endif
    107111
    108112class AVVideoCaptureSourceFactory : public RealtimeMediaSource::CaptureFactory {
Note: See TracChangeset for help on using the changeset viewer.