Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 33d037200af7cb247e54d55ca83f2eb231ae0f82
      
https://github.com/WebKit/WebKit/commit/33d037200af7cb247e54d55ca83f2eb231ae0f82
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.h
    M Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm
    M Source/WebCore/platform/graphics/MediaPlayer.cpp

  Log Message:
  -----------
  Don't load the VP9 VT plugin in the content process
https://bugs.webkit.org/show_bug.cgi?id=291949
rdar://149673845

Reviewed by Youenn Fablet.

The VP9 plugin is loaded in the GPU process upon preferences initialisation.
So we don't have to load it in the MediaSessionManagerCocoa which is initialised
in both the web and GPUP.
Additionally, we don't have to load the VP9 mac HW decoder either.
While this will disable VP9 with WK1, webm isn't supported in WK1 anyway.

Covered by existing tests.
* Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.h:
* Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm:
(WebCore::MediaSessionManagerCocoa::MediaSessionManagerCocoa):
(WebCore::MediaSessionManagerCocoa::ensureCodecsRegistered): Deleted.
* Source/WebCore/platform/graphics/MediaPlayer.cpp:
(WebCore::WTF_REQUIRES_LOCK):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to