Fix music mode in AVPlayer

This commit is contained in:
Arkadiusz Fal 2023-05-26 23:20:05 +02:00
parent 48263ae7db
commit a054d343a9

View File

@ -333,6 +333,10 @@ final class AVPlayerBackend: PlayerBackend {
return return
} }
if self.model.musicMode {
startMusicMode()
}
if !preservingTime, if !preservingTime,
!self.model.transitioningToPiP, !self.model.transitioningToPiP,
let segment = self.model.sponsorBlock.segments.first, let segment = self.model.sponsorBlock.segments.first,