Fix seeking before a source is set.
Before this change, calling seekTo then setPlayWhenReady would cause the player throw an error, due to using the sample source provider before it's set. Transition to the buffering state in seekToInternal only if we have a sample source provider. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126804528
Showing
with
1 additions
and
1 deletions
Please
register
or
sign in
to comment