mirror of
https://github.com/samsonjs/media.git
synced 2026-04-20 13:45:47 +00:00
Don't call doSomeWork if we're preparing
This commit is contained in:
parent
2a82ff353b
commit
b1992c3848
1 changed files with 1 additions and 1 deletions
|
|
@ -525,7 +525,7 @@ import java.util.List;
|
|||
notifyAll();
|
||||
}
|
||||
}
|
||||
if (state != ExoPlayer.STATE_IDLE) {
|
||||
if (state != ExoPlayer.STATE_IDLE && state != ExoPlayer.STATE_PREPARING) {
|
||||
// The message may have caused something to change that now requires us to do work.
|
||||
handler.sendEmptyMessage(MSG_DO_SOME_WORK);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue