Fix ready and ended conditions.
1. The readiness of the timeline is only relevant if there aren't any enabled renderers. It's also only ready if the source after the playing source is actually prepared (if not, we're waiting for preparation). 2. Prevent early transition to the ENDED state when the playback position hits the duration, but we're not at the final entry in the playlist. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125685193
Showing
with
33 additions
and
17 deletions
Please
register
or
sign in
to comment