feat: add 2.5x & 3x speed in pip mode

This commit is contained in:
Aliberk Sandıkçı 2024-12-01 16:47:43 +03:00
parent f88efdb8a3
commit 54ba86b8ec
Signed by: asandikci
GPG key ID: A3B47D76845BEDF3

View file

@ -103,7 +103,9 @@ public abstract class VideoPlayerUi extends PlayerUi implements SeekBar.OnSeekBa
public static final int SEEK_OVERLAY_DURATION = 450; // 450 millis
// other constants (TODO remove playback speeds and use normal menu for popup, too)
private static final float[] PLAYBACK_SPEEDS = {0.5f, 0.75f, 1.0f, 1.25f, 1.5f, 1.75f, 2.0f};
private static final float[] PLAYBACK_SPEEDS = {
0.5f, 0.75f, 1.0f, 1.25f, 1.5f, 1.75f, 2.0f, 2.5f, 3.0f
};
private enum PlayButtonAction {
PLAY, PAUSE, REPLAY