-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry pick PR #2788: [media] Fix reset AudioDecoder twice when destr…
…oying AudioDecoder (#2823) Refer to the original PR: #2788 This PR (#2501) changes to recreate or flush AudioDecoder in AudioDecoder::Reset(). However, when destroying AdaptiveAudioDecoder, this causes Cobalt to destroy->create->destroy AudioDecoder, which is unnecessary. This PR fixes the extra reset when destroying AudioDecoder. b/327229953 Co-authored-by: Bo-Rong Chen <[email protected]>
- Loading branch information
1 parent
9335b3b
commit 1a079f5
Showing
2 changed files
with
20 additions
and
10 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