Remove best resolution setting

This commit is contained in:
Arkadiusz Fal
2022-08-15 00:16:02 +02:00
parent 4a5cdf2d03
commit 5e08d15b21
3 changed files with 6 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ struct QualityProfileForm: View {
@State private var name = ""
@State private var backend = PlayerBackendType.mpv
@State private var resolution = ResolutionSetting.best
@State private var resolution = ResolutionSetting.hd1080p60
@State private var formats = [QualityProfile.Format]()
var qualityProfile: QualityProfile! {
@@ -270,7 +270,7 @@ struct QualityProfileForm: View {
func isResolutionDisabled(_ resolution: ResolutionSetting) -> Bool {
guard backend == .appleAVPlayer else { return false }
return resolution != .best && resolution.value.height > 720
return resolution.value.height > 720
}
func initializeForm() {