Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 20e93a792350f090edf177d1ae85da43227aab67
      
https://github.com/WebKit/WebKit/commit/20e93a792350f090edf177d1ae85da43227aab67
  Author: Jean-Yves Avenard <j...@apple.com>
  Date:   2025-05-10 (Sat, 10 May 2025)

  Changed paths:
    M LayoutTests/ipc/invalid-addSourceBuffer-to-GPU-process-crash.html
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WTF/wtf/PlatformUse.h
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/platform/graphics/MediaPlayer.cpp
    M Source/WebCore/platform/graphics/MediaPlayer.h
    M Source/WebCore/platform/graphics/MediaPlayerEnums.h
    M Source/WebCore/platform/graphics/MediaPlayerPrivate.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
    M Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm
    M Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.h
    M Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm
    M Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  [Cocoa] Add ability to use DecompressionSession even for protected content
https://bugs.webkit.org/show_bug.cgi?id=292708
rdar://150912134

Reviewed by Jer Noble.

Add option to always use a DecompressionSession for all content type, including 
protected.
We simplify how we pass configuration options to the VideoMediaSampleRenderer
by adding a new OptionSet to MediaPlayerLoadOptions which is provided to
the MediaPlayerPrivate upon creation.

Amend VideoRendererProtectedFallbackDisabled so that it only works on macOS 15
and later. The ability to use FairPlay with a VTDecompressionSession wasn't
available in earlier macOS.

No change in observable behaviours, covered by existing tests.
* LayoutTests/ipc/invalid-addSourceBuffer-to-GPU-process-crash.html: Amend test 
to handle new structure member.

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



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

Reply via email to