[webkit-changes] [WebKit/WebKit] 2a4d71: [macOS] LocalSampleBufferDisplayLayer is rotating ...

youennf noreply at github.com
Fri Jul 14 01:51:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a4d7141520c91bc674ed6c860b533b756205d17
      https://github.com/WebKit/WebKit/commit/2a4d7141520c91bc674ed6c860b533b756205d17
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    A LayoutTests/fast/mediastream/video-rotation2-expected.txt
    A LayoutTests/fast/mediastream/video-rotation2.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm

  Log Message:
  -----------
  [macOS] LocalSampleBufferDisplayLayer is rotating video frames on the wrong side
https://bugs.webkit.org/show_bug.cgi?id=259187
rdar://112127520

Reviewed by Eric Carlson.

transform is applied counter-clockwise in macOS and clockwise in iOS.
Update rotation matrix accordingly.

* LayoutTests/fast/mediastream/video-rotation2-expected.txt: Added.
* LayoutTests/fast/mediastream/video-rotation2.html: Added.
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm:
(WebCore::videoTransformationMatrix):

Canonical link: https://commits.webkit.org/266061@main




More information about the webkit-changes mailing list