mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 22:30:32 +05:30
Add hd2160p60fps resolution (fix #118)
This commit is contained in:
parent
d973340cd0
commit
974b3d7d93
@ -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