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 #899: [android] Adjust media time during 5.1 playback #1000

Closed
wants to merge 1 commit into from

Conversation

cobalt-github-releaser-bot
Copy link
Collaborator

"Refer to the original PR: #899"

* [android] Adjust media time during 5.1 playback

Adjusts the playback time reported by GetCurrentMediaTime() to respect
the offset between the seek time and the timestamp of the first written
audio packet. As passthrough audio packets cannot be adjusted to the
seek time, this avoids an issue where the audio timestamp and the seek
time are not aligned.

As an (E)AC3 audio packet timestamp may be up to ~32 ms earlier than the
seek time, the VideoRenderAlgorithm |kBufferTooLateThreshold| is
adjusted to ensure that frames aren't dropped too early.

b/243588665

(cherry picked from commit 88dc475)
@kaidokert kaidokert closed this Jul 13, 2024
@kaidokert kaidokert deleted the 23.lts.1+-899 branch July 13, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants