Changeset 261915 in webkit
- Timestamp:
- May 20, 2020 6:30:42 AM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r261886 r261915 1 2020-05-20 Youenn Fablet <youenn@apple.com> 2 3 [Mac] Use preferedPixelBufferFormat for AVVideoCaptureSource 4 https://bugs.webkit.org/show_bug.cgi?id=212071 5 6 Reviewed by Eric Carlson. 7 8 * wtf/PlatformHave.h: 9 Add HAVE_DISPLAY_LAYER_BIPLANAR_SUPPORT macro. 10 1 11 2020-05-19 Adrian Perez de Castro <aperez@igalia.com> 2 12 -
trunk/Source/WTF/wtf/PlatformHave.h
r261845 r261915 619 619 #define HAVE_QUICKLOOK_THUMBNAILING 1 620 620 #endif 621 622 #if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101600) 623 #define HAVE_DISPLAY_LAYER_BIPLANAR_SUPPORT 1 624 #endif -
trunk/Source/WebCore/ChangeLog
r261912 r261915 1 2020-05-20 Youenn Fablet <youenn@apple.com> 2 3 [Mac] Use preferedPixelBufferFormat for AVVideoCaptureSource 4 https://bugs.webkit.org/show_bug.cgi?id=212071 5 6 Reviewed by Eric Carlson. 7 8 Manually tested. 9 10 * platform/mediastream/mac/AVVideoCaptureSource.mm: 11 (WebCore::avVideoCapturePixelBufferFormat): 12 1 13 2020-05-20 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm
r261080 r261915 76 76 static inline OSType avVideoCapturePixelBufferFormat() 77 77 { 78 // FIXME: Use preferedPixelBufferFormat() once rdar://problem/44391444 is fixed. 79 #if PLATFORM(MAC) 78 #if HAVE(DISPLAY_LAYER_BIPLANAR_SUPPORT) 79 return preferedPixelBufferFormat(); 80 #else 80 81 return kCVPixelFormatType_420YpCbCr8Planar; 81 #else82 return preferedPixelBufferFormat();83 82 #endif 84 83 }
Note: See TracChangeset
for help on using the changeset viewer.