[webkit-changes] [WebKit/WebKit] 5e8d83: VideoEncoder class shouldn't be dependent on havin...

Jean-Yves Avenard noreply at github.com
Wed Oct 23 08:23:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e8d83123c2e39dc8dbccd9f8b7654a47acd2e41
      https://github.com/WebKit/WebKit/commit/5e8d83123c2e39dc8dbccd9f8b7654a47acd2e41
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2024-10-23 (Wed, 23 Oct 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WebCore/platform/VideoEncoder.cpp
    M Source/WebCore/platform/VideoEncoder.h
    M Source/WebCore/platform/VideoEncoderActiveConfiguration.h
    M Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.cpp
    M Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.h

  Log Message:
  -----------
  VideoEncoder class shouldn't be dependent on having ENABLE_WEB_CODECS set
https://bugs.webkit.org/show_bug.cgi?id=281966
rdar://138472659

Reviewed by Youenn Fablet.

Similar to what we did with VideoDecoder in 272760 at main, allow for the use of VideoEncoder
even if ENABLE_WEB_CODECS isn't set so that it can be used by the future MediaRecorderPrivateEncoder class.

* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebCore/platform/VideoEncoder.cpp:
* Source/WebCore/platform/VideoEncoder.h:
* Source/WebCore/platform/VideoEncoderActiveConfiguration.h:
* Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.cpp:
* Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.h:

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



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


More information about the webkit-changes mailing list