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

  Changed paths:
    M Source/WebCore/Modules/mediacapabilities/MediaCapabilities.cpp
    M Source/WebCore/Modules/mediacapabilities/MediaDecodingType.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/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm
    M Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm
    M 
Source/WebCore/platform/graphics/cocoa/PlatformMediaEngineConfigurationFactoryCocoa.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M 
Source/WebCore/platform/mediacapabilities/PlatformMediaCapabilitiesLogging.cpp
    M Source/WebCore/platform/mediacapabilities/PlatformMediaDecodingType.h
    M Source/WebCore/platform/mediastream/WebRTCProvider.cpp
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCProvider.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/WebProcess/GPU/media/RemoteMediaPlayerManager.cpp

  Log Message:
  -----------
  PlatformMediaDecodingType's enums are inappropriately named
https://bugs.webkit.org/show_bug.cgi?id=309392
rdar://171936464

Reviewed by Anne van Kesteren.

Rename enums so they reflect more the internal platform's MediaPlayer name (and 
constants)
* PlatformMediaDecodingType::File -> PlatformMediaDecodingType::FileOrHLS
* PlatformMediaDecodingType::WebRTC -> PlatformMediaDecodingType::MediaStream

No observable changes.

* Source/WebCore/Modules/mediacapabilities/MediaCapabilities.cpp:
(WebCore::gatherDecodingInfo):
* Source/WebCore/Modules/mediacapabilities/MediaDecodingType.h:
(WebCore::toPlatform):
(WebCore::fromPlatform):
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::selectNextSourceChild):
* Source/WebCore/platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::nextBestMediaEngine):
* Source/WebCore/platform/graphics/MediaPlayer.h:
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::supportsTypeAndCodecs):
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::supportsType):
* Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm:
(WebCore::MediaPlayerPrivateWebM::supportsType):
* 
Source/WebCore/platform/graphics/cocoa/PlatformMediaEngineConfigurationFactoryCocoa.cpp:
(WebCore::computeMediaCapabilitiesInfo):
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::supportsType):
* 
Source/WebCore/platform/mediacapabilities/PlatformMediaCapabilitiesLogging.cpp:
(WebCore::convertEnumerationToString):
* Source/WebCore/platform/mediacapabilities/PlatformMediaDecodingType.h:
* Source/WebCore/platform/mediastream/WebRTCProvider.cpp:
(WebCore::WebRTCProvider::createDecodingConfiguration):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCProvider.cpp:
(WebCore::GStreamerWebRTCProvider::videoDecodingCapabilitiesOverride):
* Source/WebKit/WebProcess/GPU/media/RemoteMediaPlayerManager.cpp:
(WebKit::RemoteMediaPlayerManager::supportsTypeAndCodecs):

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



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

Reply via email to