[webkit-changes] [WebKit/WebKit] 284da0: Fix WebCodecs build without WebRTC

Olivier Blin noreply at github.com
Wed Dec 6 08:46:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 284da0bd6496cf9ecf571168a007a9a37c6d4d75
      https://github.com/WebKit/WebKit/commit/284da0bd6496cf9ecf571168a007a9a37c6d4d75
  Author: Olivier Blin <olivier.blin at softathome.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoEncoder.cpp

  Log Message:
  -----------
  Fix WebCodecs build without WebRTC
https://bugs.webkit.org/show_bug.cgi?id=265938

Reviewed by Youenn Fablet.

271238 at main introduced the check of WebRTC settings for VP9 profile 2
support in WebCodecs. These settings do not exist if WebRTC is disabled.

* Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp:
(WebCore::isSupportedDecoderCodec):
* Source/WebCore/Modules/webcodecs/WebCodecsVideoEncoder.cpp:
(WebCore::isSupportedEncoderCodec):

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




More information about the webkit-changes mailing list