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:
parent
14081505cd
commit
16c79c8219
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user