Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use after free in RTCVideoEncoder on encoder recreation
In case WebRTC encoded video transform is used, encoded frame buffers provided by RTCVideoEncoder are pushed onto worker. Thus, lifetime of these buffers needs to be ensured when RTCVideoEncoder instance is recreated. BUG=1448809 (cherry picked from commit aee9c86) Change-Id: Iff52541b6b4e3264caf985808ceb42d768d8ac1b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4565337 Reviewed-by: Tony Herre <toprice@chromium.org> Reviewed-by: Harald Alvestrand <hta@chromium.org> Commit-Queue: Martin Aedla <maedla@microsoft.com> Cr-Original-Commit-Position: refs/heads/main@{#1150441} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4584792 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5790@{#301} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information
1 parent
3bc64a7
commit 39822ea
Showing
2 changed files
with
122 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters