Always use extended language tags when possible.

This commit is contained in:
Damiano Galassi committed 2016-11-26 13:14:14 +01:00
1 parent d7c4ab1edf
commit 5c6f1a7ea8
12 files changed
+204 -160

No files matched your search

+1 -1
View File
@@ -243,7 +243,7 @@ static NSArray<SBVobSubTrack *> * LoadVobSubSubtitles(NSURL *theDirectory, NSStr
newTrack.URL = self.fileURL;
newTrack.alternate_group = 2;
newTrack.trackId = count++;
newTrack.language = [MP42Languages ISO_639_2CodeForISO_639_1:track->language];
newTrack.language = [MP42Languages.defaultManager extendedTagForISO_639_1:track->language];
newTrack.duration = track->duration;
[self addTrack:newTrack];