[webkit-changes] [WebKit/WebKit] aaf1bb: LibWebRTCCodecsProxy::releaseEncoder should call a...

youennf noreply at github.com
Tue Dec 5 05:05:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aaf1bb8555cc0ecb5cb167b1115cedd8d04fed60
      https://github.com/WebKit/WebKit/commit/aaf1bb8555cc0ecb5cb167b1115cedd8d04fed60
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm

  Log Message:
  -----------
  LibWebRTCCodecsProxy::releaseEncoder should call all encoding task completion handlers
https://bugs.webkit.org/show_bug.cgi?id=265793
rdar://119135005

Reviewed by Eric Carlson.

WebRTC encoders can be released without all encoding tasks being completed.
In this case, the completion handlers will assert on debug builds.
We call them at the time we release encoders in the work queue, like done for regular callbacks.

* Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm:
(WebKit::LibWebRTCCodecsProxy::releaseEncoder):

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




More information about the webkit-changes mailing list