mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-25 20:37:40 +00:00
Merge branch 'dev' into giga-postprocessing
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user