Calculate ExtractorSampleSource duration if unknown (playlists #4).
When buffering playlist items after the currently-playing one, continueBuffering should take a position that is negative because the playback position is before the start of the source being buffered. This change makes sure that ExtractorSampleSources always have a known duration when they are fully buffered, which means that the correct (negative) source-relative position can be calculated. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124949409
Showing
with
55 additions
and
72 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment