mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
only bind Player if the active backend is AVPlayer
This commit is contained in:
@@ -936,7 +936,7 @@ final class PlayerModel: ObservableObject {
|
||||
func handleEnterForeground() {
|
||||
setNeedsDrawing(presentingPlayer)
|
||||
|
||||
if !musicMode {
|
||||
if !musicMode, activeBackend == .appleAVPlayer {
|
||||
avPlayerBackend.bindPlayerToLayer()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user