[webkit-changes] [WebKit/WebKit] 0fcddc: Cherry-pick e6ca3e308980. rdar://problem/106430764
Jer Noble
noreply at github.com
Wed Mar 8 13:09:23 PST 2023
Branch: refs/heads/safari-7616.1.6-branch
Home: https://github.com/WebKit/WebKit
Commit: 0fcddc9f1eefb5eabcd73595aaa028a1ceab8485
https://github.com/WebKit/WebKit/commit/0fcddc9f1eefb5eabcd73595aaa028a1ceab8485
Author: Jer Noble <jer.noble at apple.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.cpp
Log Message:
-----------
Cherry-pick e6ca3e308980. rdar://problem/106430764
[Mac] Video in pip snaps to incorrect size
https://bugs.webkit.org/show_bug.cgi?id=253587
rdar://106430764
Reviewed by Eric Carlson.
Stop recreating the WKVideoLayerRemote every time MediaPlayerPrivateRemote::platformLayer()
is called. The m_videoInlineSize is wrong when in PiP mode, and this causes the video to
resize to an incorrect size while in PiP.
* Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.cpp:
(WebKit::MediaPlayerPrivateRemote::platformLayer const):
Canonical link: https://commits.webkit.org/261383@main
Canonical link: https://commits.webkit.org/261247.13@safari-7616.1.6-branch
More information about the webkit-changes
mailing list