Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry pick PR #2788: [media] Fix reset AudioDecoder twice when destroying AudioDecoder #2823

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

cobalt-github-releaser-bot
Copy link
Collaborator

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

)

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

(cherry picked from commit 02dc352)
@borongc borongc force-pushed the cherry-pick-24.lts.1+-2788 branch from 480ffa7 to 25388da Compare April 3, 2024 22:30
@borongc borongc merged commit 1a079f5 into 24.lts.1+ Apr 8, 2024
363 of 367 checks passed
@borongc borongc deleted the cherry-pick-24.lts.1+-2788 branch April 8, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants