mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Add hd2160p60fps resolution (fix #118)
This commit is contained in:
parent
e42d574b46
commit
b203b5205a
@ -5,6 +5,7 @@ import Foundation
|
||||
// swiftlint:disable:next final_class
|
||||
class Stream: Equatable, Hashable, Identifiable {
|
||||
enum Resolution: String, CaseIterable, Comparable, Defaults.Serializable {
|
||||
case hd2160p60
|
||||
case hd2160p
|
||||
case hd1440p60
|
||||
case hd1440p
|
||||
|
@ -96,6 +96,7 @@ extension Defaults.Keys {
|
||||
|
||||
enum ResolutionSetting: String, CaseIterable, Defaults.Serializable {
|
||||
case best
|
||||
case hd2160p60
|
||||
case hd2160p
|
||||
case hd1440p60
|
||||
case hd1440p
|
||||
@ -111,7 +112,7 @@ enum ResolutionSetting: String, CaseIterable, Defaults.Serializable {
|
||||
var value: Stream.Resolution {
|
||||
switch self {
|
||||
case .best:
|
||||
return .hd2160p
|
||||
return .hd2160p60
|
||||
default:
|
||||
return Stream.Resolution(rawValue: rawValue)!
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user