fix PiP Mode Not Working Using MPV

fixes #674

I accidentally broke PiP when using MPV. While testing this, I noticed that PiP sometimes does not start, so I tried to make MPV to PiP a bit more robust.
This commit is contained in:
Toni Förster
2024-05-19 00:18:18 +02:00
parent ddee3b74f0
commit 1a1bd1ba5b
3 changed files with 28 additions and 8 deletions

View File

@@ -304,7 +304,7 @@ struct QualityProfileForm: View {
func isResolutionDisabled(_ resolution: ResolutionSetting) -> Bool {
guard backend == .appleAVPlayer else { return false }
return resolution.value > .hd1080p60
return resolution.value > .hd720p30
}
func initializeForm() {