[webkit-changes] [WebKit/WebKit] 9173fc: Remove RTCVideoEncoderH264 _pixelBufferPool

youennf noreply at github.com
Mon Jan 9 09:29:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9173fc4b4edee2a672d57cd13399c076a2b32268
      https://github.com/WebKit/WebKit/commit/9173fc4b4edee2a672d57cd13399c076a2b32268
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm

  Log Message:
  -----------
  Remove RTCVideoEncoderH264 _pixelBufferPool
https://bugs.webkit.org/show_bug.cgi?id=250309
rdar://103922609

Reviewed by Jean-Yves Avenard.

_pixelBufferPool is not useful as a member field, let's remove it and access it when needed instead.
This aligns with libwebrtc upstream.

Covered by webrtc H264 tests.

* Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:
(-[RTCVideoEncoderH264 encode:codecSpecificInfo:frameTypes:]):
(-[RTCVideoEncoderH264 resetCompressionSessionIfNeededWithFrame:]):
(-[RTCVideoEncoderH264 resetCompressionSessionWithPixelFormat:]):
(-[RTCVideoEncoderH264 destroyCompressionSession]):

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




More information about the webkit-changes mailing list