Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 06761f5cdd630751d20adbf6e7b80b193cb65f3c
https://github.com/WebKit/WebKit/commit/06761f5cdd630751d20adbf6e7b80b193cb65f3c
Author: Jean-Yves Avenard <[email protected]>
Date: 2025-10-22 (Wed, 22 Oct 2025)
Changed paths:
M Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm
Log Message:
-----------
[visionOS] Exiting Docked mode for YouTube videos shows black screen for a
sec.
https://bugs.webkit.org/show_bug.cgi?id=301259
rdar://163073582
Reviewed by Jer Noble.
This is a partial revert of 301761@main.
MediaPlayerPrivateMediaSourceAVFObjC::setPresentationSize
is called multiple times with various sizes. Prior 301761@main those changes
were ignored, but after it would actually adjust the layer's frame instead.
The underlying cause for those calls will be tracked in webkit.org/b/301260
Manually verified, as docking isn't possible in our testing infrastructure.
* Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm:
(WebCore::AudioVideoRendererAVFObjC::setPresentationSize):
Canonical link: https://commits.webkit.org/301951@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications