mirror of
https://github.com/dirtydishes/dreamio.git
synced 2026-06-06 21:38:15 +00:00
merge main into subtitle labels
This commit is contained in:
commit
1b14f4970a
6 changed files with 567 additions and 7 deletions
|
|
@ -142,6 +142,8 @@ enum SubtitleDisplayName {
|
|||
}
|
||||
}
|
||||
|
||||
typealias AudioTrack = SubtitleTrack
|
||||
|
||||
#if DEBUG
|
||||
enum SubtitleDebugFormatter {
|
||||
static func candidateSummary(_ candidates: [SubtitleCandidate]) -> String {
|
||||
|
|
@ -195,6 +197,12 @@ enum SubtitleOptionMapper {
|
|||
}
|
||||
}
|
||||
|
||||
enum AudioOptionMapper {
|
||||
static func options(from tracks: [AudioTrack]) -> [AudioTrack] {
|
||||
tracks.filter { $0.id >= 0 }
|
||||
}
|
||||
}
|
||||
|
||||
struct StreamClassification {
|
||||
let sourceKind: StreamSourceKind
|
||||
let containerGuess: StreamContainerGuess
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue