-Fix play queue remove.
-Fix player discontinuity refresh.
This commit is contained in:
parent
73f46d3762
commit
a91ef2ce9e
4 changed files with 63 additions and 36 deletions
|
|
@ -550,7 +550,7 @@ public abstract class BasePlayer implements Player.EventListener,
|
|||
@Override
|
||||
public void onPositionDiscontinuity() {
|
||||
int newIndex = simpleExoPlayer.getCurrentWindowIndex();
|
||||
playbackManager.refresh(newIndex);
|
||||
if (playbackManager.getCurrentSourceIndex() != newIndex) playbackManager.refresh(newIndex);
|
||||
}
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue