mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
It's no longer safe to convert END_OF_SOURCE -> duration on the main therad, since the Timeline from which the duration is obtained is posted to the main thread, where-as the buffered position is passed by updating a volatile. Hence an update to the latter might become visible to the main thread before the corresponding Timeline. This change moves the conversion to the playback thread. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130265893 |
||
|---|---|---|
| .. | ||
| com/google/android/exoplayer2 | ||