Fix seeking into a different period that has been prepared.
When seekToPeriodPosition found that the seek destination period was already prepared, it would not disable/re-enable renderers. This was fine if the playing period wasn't changing, but in other cases the renderers would be left reading the incorrect streams (and the underlying periods may have been released). Also, transition to the buffering state before re-enabling renderers, so that the renderers are not started until leaving the buffering state. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129625632
Showing
with
29 additions
and
20 deletions
Please
register
or
sign in
to comment