Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 532d7508c57451672964a3df82cadfca16c0901d
https://github.com/WebKit/WebKit/commit/532d7508c57451672964a3df82cadfca16c0901d
Author: Jean-Yves Avenard <[email protected]>
Date: 2025-11-17 (Mon, 17 Nov 2025)
Changed paths:
M Source/WebCore/platform/graphics/MediaPlayer.cpp
Log Message:
-----------
MediaPlayerPrivateMediaSourceAVFObjC can't be instantiated in the content
process.
https://bugs.webkit.org/show_bug.cgi?id=302625
rdar://164861750
Reviewed by Eric Carlson.
When MediaPlayer::load was called for MSE in the web content process,
it could only succeed if the url provided was non empty. But in the content
process, with MSE, that URL is always always empty.
So we bypass the iteration of MediaEngine and force the use of the
AVFoundationMSE engine immediately as there's only one suitable anyway:
AVFoundationMSE.
* Source/WebCore/platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::load):
Canonical link: https://commits.webkit.org/303158@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications