[webkit-changes] [WebKit/WebKit] fb9646: REGRESSION(262311 at main): Netflix video is blank

Jer Noble noreply at github.com
Mon Apr 3 15:06:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb964650f5265cb56df0dc4082ad0ef04774dfb9
      https://github.com/WebKit/WebKit/commit/fb964650f5265cb56df0dc4082ad0ef04774dfb9
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

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

  Log Message:
  -----------
  REGRESSION(262311 at 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




More information about the webkit-changes mailing list