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

Commits on Jul 20, 2023

  1. [android] Adjust media time during 5.1 playback (#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)
    osagie98 authored and anonymous1-me committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    d840ab5 View commit details
    Browse the repository at this point in the history