Skip to content

Commit 54ba86b

Browse files
committed
feat: add 2.5x & 3x speed in pip mode
1 parent f88efdb commit 54ba86b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/main/java/org/schabi/newpipe/player/ui/VideoPlayerUi.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ public abstract class VideoPlayerUi extends PlayerUi implements SeekBar.OnSeekBa
103103
public static final int SEEK_OVERLAY_DURATION = 450; // 450 millis
104104

105105
// other constants (TODO remove playback speeds and use normal menu for popup, too)
106-
private static final float[] PLAYBACK_SPEEDS = {0.5f, 0.75f, 1.0f, 1.25f, 1.5f, 1.75f, 2.0f};
106+
private static final float[] PLAYBACK_SPEEDS = {
107+
0.5f, 0.75f, 1.0f, 1.25f, 1.5f, 1.75f, 2.0f, 2.5f, 3.0f
108+
};
107109

108110
private enum PlayButtonAction {
109111
PLAY, PAUSE, REPLAY

0 commit comments

Comments
 (0)