commit | 93cf913073d94f6e00bdf95196067cfd996daeef | [log] [tgz] |
---|---|---|
author | Linus Nilsson <lnilsson@google.com> | Thu Sep 24 12:12:48 2020 -0700 |
committer | Linus Nilsson <lnilsson@google.com> | Fri Sep 25 16:15:55 2020 -0700 |
tree | 5fb2c3e3038a8eb9bb91f10298aeb5dcdcfca39c | |
parent | c31d2491af85218c29845840c46ff3fa5df6b1bc [diff] |
Transcoder: Fixed codec leaks on cancel. When transcoding was cancelled, the VideoTrackTranscoder held strong references to itself through its internal codec handler work queue. This commit clears the work queue and blocks new messages from being stored on cancel. Test: Unit test and address sanitizer. Fixes: 168522198 Change-Id: I9c3a4469378a91a492c6872bafc6d494dadf2853