mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
only bind Player if the active backend is AVPlayer
This commit is contained in:
parent
c41b635276
commit
4144a29608
@ -936,7 +936,7 @@ final class PlayerModel: ObservableObject {
|
||||
func handleEnterForeground() {
|
||||
setNeedsDrawing(presentingPlayer)
|
||||
|
||||
if !musicMode {
|
||||
if !musicMode, activeBackend == .appleAVPlayer {
|
||||
avPlayerBackend.bindPlayerToLayer()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user