[webkit-changes] [WebKit/WebKit] b76de3: [Cocoa] Assume the orientation of an "external unk...

Eric Carlson noreply at github.com
Mon Jun 12 12:13:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b76de3885bc00051d230226e8e5bfdb7b3a34b46
      https://github.com/WebKit/WebKit/commit/b76de3885bc00051d230226e8e5bfdb7b3a34b46
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h
    M Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm

  Log Message:
  -----------
  [Cocoa] Assume the orientation of an "external unknown" camera is 0
https://bugs.webkit.org/show_bug.cgi?id=257967
rdar://110650747

Reviewed by Andy Estes.

Assume the orientation of an AVCaptureDeviceTypeExternalUnknown camera is 0
instead of checking the AVCaptureConnection's videoOrientation.

* Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h:
* Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm:
(WebCore::AVVideoCaptureSource::sensorOrientationFromVideoOutput):
(WebCore::AVVideoCaptureSource::setupCaptureSession):
(WebCore::sensorOrientationFromVideoOutput): Deleted.

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




More information about the webkit-changes mailing list