mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Remove an extra call to updateRebufferingState method
`updateRebufferingState` is invoked immediately preceding this `if-else`, with no alteration of state occurring in between, making this invocation unnecessary. PiperOrigin-RevId: 629694531
This commit is contained in:
parent
c9aab56d9c
commit
5805287620
1 changed files with 0 additions and 2 deletions
|
|
@ -880,8 +880,6 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
updatePlaybackPositions();
|
updatePlaybackPositions();
|
||||||
} else {
|
} else {
|
||||||
if (playbackInfo.playbackState == Player.STATE_READY) {
|
if (playbackInfo.playbackState == Player.STATE_READY) {
|
||||||
updateRebufferingState(
|
|
||||||
/* isRebuffering= */ false, /* resetLastRebufferRealtimeMs= */ false);
|
|
||||||
mediaClock.start();
|
mediaClock.start();
|
||||||
startRenderers();
|
startRenderers();
|
||||||
handler.sendEmptyMessage(MSG_DO_SOME_WORK);
|
handler.sendEmptyMessage(MSG_DO_SOME_WORK);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue