Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb964650f5265cb56df0dc4082ad0ef04774dfb9
      
https://github.com/WebKit/WebKit/commit/fb964650f5265cb56df0dc4082ad0ef04774dfb9
  Author: Jer Noble <[email protected]>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M Source/WebKit/WebProcess/GPU/media/cocoa/VideoLayerRemoteCocoa.mm

  Log Message:
  -----------
  REGRESSION(262311@main): Netflix video is blank
https://bugs.webkit.org/show_bug.cgi?id=254841
rdar://107485654

Reviewed by Eric Carlson and Simon Fraser.

Netflix hits an edge case in -[VideoLayerRemoteCocoa resolveBounds] where the 
initial layer
bounds of the video content layer are 0x0, and therefore the early return if 
the bounds match
videoLayerFrame mean that the resize never happens and videoLayerFrame is never 
set to a non-empty
value.

Don't bail out of -resolveBounds if self.videoLayerFrame is empty.

* Source/WebKit/WebProcess/GPU/media/cocoa/VideoLayerRemoteCocoa.mm:
(-[WKVideoLayerRemote resolveBounds]):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to