From fe8ec634086727bec690de314f96b1769df448bb Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 7 Jun 2022 23:28:02 +0200 Subject: [PATCH] Remove old unneeded patch --- Shared/Player/VideoPlayerView.swift | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index 12b971c0..483cd486 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -275,19 +275,6 @@ struct VideoPlayerView: View { PlayerControls(player: player, thumbnails: thumbnails) } - #if os(iOS) - .onAppear { - // ugly patch for #78 - guard player.activeBackend == .mpv else { - return - } - - player.activeBackend = .appleAVPlayer - DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { - player.activeBackend = .mpv - } - } - #endif } var fullScreenLayout: Bool {