[webkit-changes] [WebKit/WebKit] 480599: Introduce a WebCodecs HEVC feature flag

youennf noreply at github.com
Mon Jul 10 10:27:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4805993720cc45884f46cf75462d1150292f02cd
      https://github.com/WebKit/WebKit/commit/4805993720cc45884f46cf75462d1150292f02cd
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoEncoder.cpp

  Log Message:
  -----------
  Introduce a WebCodecs HEVC feature flag
https://bugs.webkit.org/show_bug.cgi?id=259057
rdar://112016320

Reviewed by Eric Carlson.

We introduce the HEVC feature flag and use it in WebCodecsVideoDecoder/Encoder to stop early if the flag is off.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp:
(WebCore::isValidDecoderConfig):
* Source/WebCore/Modules/webcodecs/WebCodecsVideoEncoder.cpp:
(WebCore::isValidEncoderConfig):

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




More information about the webkit-changes mailing list