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 #2875: [media] Fix failing to reset all status in AdaptiveAudioDecoder #2926

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

cobalt-github-releaser-bot
Copy link
Collaborator

Refer to the original PR: #2875

  1. This PR ([android] Improve video/audio seeking via flush MediaCodec #2287) returns an empyt DecodedAudio if it is end of stream. However, |first_input_written_| doesn't reset during AdaptiveAudioDecoder::ResetInternal(), causing it failed on AudioDecoderTest reset-related tests.
  2. On ps5, |output_format_checked_| doesn't reset cause |resampler_| and |channel_mixer_| are nullptr, causing AudioDecoderTests fails.

b/333416579
b/333412348
b/320568573

Test-On-Device: true

1. This PR (#2287) returns an
empyt DecodedAudio if it is end of stream. However,
|first_input_written_| doesn't reset during
AdaptiveAudioDecoder::ResetInternal(), causing it failed on
AudioDecoderTest reset-related tests.
2. On ps5, |output_format_checked_| doesn't reset cause |resampler_| and
|channel_mixer_| are nullptr, causing AudioDecoderTests fails.

b/333416579
b/333412348
b/320568573

Test-On-Device: true
(cherry picked from commit 32a2037)
@borongc borongc merged commit 58d3b3d into 24.lts.1+ Apr 13, 2024
360 of 364 checks passed
@borongc borongc deleted the cherry-pick-24.lts.1+-2875 branch April 13, 2024 04:25
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