Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 883f36d61a89fe00b347580742e4b3a3f8301bbf
      
https://github.com/WebKit/WebKit/commit/883f36d61a89fe00b347580742e4b3a3f8301bbf
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2026-03-26 (Thu, 26 Mar 2026)

  Changed paths:
    M LayoutTests/media/media-source/media-source-has-audio-video-gpu.html
    M LayoutTests/media/video-webm-canvas-drawing.html
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/mediasource/MediaSource.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  Merge MediaSourceUseRemoteAudioVideoRenderer and 
WebMUseRemoteAudioVideoRenderer into one pref
https://bugs.webkit.org/show_bug.cgi?id=310590
rdar://173199374

Reviewed by Anne van Kesteren.

Combine MediaSourceUseRemoteAudioVideoRenderer and 
WebMUseRemoteAudioVideoRenderer
into a single MediaContainmentEnabled preference.

Both preferences had identical definitions — enabled by default on 
WebKit/WebCore,
disabled on WebKitLegacy, scoped to PLATFORM(COCOA) && ENABLE(VIDEO) — and 
controlled
the same behavior (routing media playback through the GPU renderer).
They are replaced by a single MediaContainmentEnabled preference that covers
both MSE and WebM media engines

Covered by existing tests.

* LayoutTests/media/media-source/media-source-has-audio-video-gpu.html:
* LayoutTests/media/video-webm-canvas-drawing.html:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::createSourceBufferPrivate):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to