mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 14:03:41 +00:00
Don't push MPV to play HLS on changing backends
It takes longer to load than WEBM
This commit is contained in:
parent
680baf3f39
commit
8bab854986
@ -374,7 +374,7 @@ final class PlayerModel: ObservableObject {
|
||||
return
|
||||
}
|
||||
|
||||
if !backend.canPlay(stream) {
|
||||
if !backend.canPlay(stream) || (to == .mpv && !stream.hlsURL.isNil) {
|
||||
guard let preferredStream = preferredStream(availableStreams) else {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user