Title: [214968] trunk/Source/WebCore
Revision
214968
Author
[email protected]
Date
2017-04-05 13:59:37 -0700 (Wed, 05 Apr 2017)

Log Message

Switch to kCVPixelFormatType_420YpCbCr8BiPlanarFullRange for Mac video capture format
https://bugs.webkit.org/show_bug.cgi?id=170509

Patch by Youenn Fablet <[email protected]> on 2017-04-05
Reviewed by Eric Carlson.

Covered by existing tests.

* platform/mediastream/mac/AVVideoCaptureSource.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (214967 => 214968)


--- trunk/Source/WebCore/ChangeLog	2017-04-05 20:58:50 UTC (rev 214967)
+++ trunk/Source/WebCore/ChangeLog	2017-04-05 20:59:37 UTC (rev 214968)
@@ -1,3 +1,14 @@
+2017-04-05  Youenn Fablet  <[email protected]>
+
+        Switch to kCVPixelFormatType_420YpCbCr8BiPlanarFullRange for Mac video capture format
+        https://bugs.webkit.org/show_bug.cgi?id=170509
+
+        Reviewed by Eric Carlson.
+
+        Covered by existing tests.
+
+        * platform/mediastream/mac/AVVideoCaptureSource.mm:
+
 2017-04-05  Javier Fernandez  <[email protected]>
 
         [css-align] Implement the place-items shorthand

Modified: trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm (214967 => 214968)


--- trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm	2017-04-05 20:58:50 UTC (rev 214967)
+++ trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm	2017-04-05 20:59:37 UTC (rev 214968)
@@ -103,11 +103,7 @@
 
 namespace WebCore {
 
-#if PLATFORM(MAC)
-const OSType videoCaptureFormat = kCVPixelFormatType_420YpCbCr8Planar;
-#else
 const OSType videoCaptureFormat = kCVPixelFormatType_420YpCbCr8BiPlanarFullRange;
-#endif
 
 class AVVideoCaptureSourceFactory : public RealtimeMediaSource::CaptureFactory {
 public:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to