1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-22 08:00:32 +00:00

Fixed player resuming from start when clicking on a timestamp

This commit is contained in:
Thompson3142 2024-11-21 22:42:42 +01:00
parent 14081505cd
commit 16c79c8219

View File

@ -462,7 +462,9 @@ public final class Player implements PlaybackListener, Listener {
if (oldPlayerType != playerType && playQueue != null) { if (oldPlayerType != playerType && playQueue != null) {
// If playerType changes from one to another we should reload the player // If playerType changes from one to another we should reload the player
// (to disable/enable video stream or to set quality) // (to disable/enable video stream or to set quality)
if (playerType != PlayerType.POPUP) {
setRecovery(); setRecovery();
}
reloadPlayQueueManager(); reloadPlayQueueManager();
} }