Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6f0659d6fa39e7fd3b80a3934f98015fc6a5b1af
      
https://github.com/WebKit/WebKit/commit/6f0659d6fa39e7fd3b80a3934f98015fc6a5b1af
  Author: Youenn Fablet <youe...@gmail.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm

  Log Message:
  -----------
  LocalSampleBufferDisplayLayer gets errored in SVC when going in the background
https://bugs.webkit.org/show_bug.cgi?id=258401
rdar://111157247

Reviewed by Eric Carlson.

In case of LocalSampleBufferDisplayLayer getting errored, we no longer are 
resetting the bounds of the newly created LocalSampleBufferDisplayLayer.
This was removed as part of https://bugs.webkit.org/show_bug.cgi?id=256695 
patch as it was creating visible artifacts/flashes.
We are now resetting the bounds of a newly created 
LocalSampleBufferDisplayLayer in case it is recreated.
We do by storing the bounds of the LocalSampleBufferDisplayLayer.

Manually tested.

* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h:
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::layersAreInitialized):
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::setVideoInlineSizeFenced):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to