Extend available streams formats list to AVPlayer

This commit is contained in:
Arkadiusz Fal
2022-08-22 19:03:49 +02:00
parent 7b2dd75f2d
commit 256bbd52a7
3 changed files with 12 additions and 7 deletions

View File

@@ -59,7 +59,7 @@ class Stream: Equatable, Hashable, Identifiable {
}
static func < (lhs: Resolution, rhs: Resolution) -> Bool {
lhs.height < rhs.height
lhs.height == rhs.height ? (lhs.refreshRate < rhs.refreshRate) : (lhs.height < rhs.height)
}
}