mirror of
https://github.com/dirtydishes/dreamio.git
synced 2026-06-06 13:37:24 +00:00
preserve subtitle language labels
This commit is contained in:
parent
0e751e4486
commit
1b3a2529a7
6 changed files with 328 additions and 1 deletions
|
|
@ -329,6 +329,7 @@ final class VLCNativePlaybackBackend: NSObject, NativePlaybackBackend {
|
|||
.filter { $0.id >= 0 }
|
||||
.filter { !externalSubtitleBaselineTrackIDs.contains($0.id) }
|
||||
.filter { externalSubtitleDisplayNamesByTrackID[$0.id] == nil }
|
||||
.filter { SubtitleDisplayName.isGenericLabel($0.name) }
|
||||
.sorted { $0.id < $1.id }
|
||||
.forEach { track in
|
||||
guard !pendingExternalSubtitleDisplayNames.isEmpty else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue