Merge branch 'dev' into giga-postprocessing
This commit is contained in:
commit
feb8c27f1f
2 changed files with 33 additions and 12 deletions
|
|
@ -1134,6 +1134,7 @@ public abstract class BasePlayer implements
|
|||
}
|
||||
|
||||
public boolean isPlaying() {
|
||||
if (simpleExoPlayer == null) return false;
|
||||
final int state = simpleExoPlayer.getPlaybackState();
|
||||
return (state == Player.STATE_READY || state == Player.STATE_BUFFERING)
|
||||
&& simpleExoPlayer.getPlayWhenReady();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue