Use the iso639_2 to store the language in MP42Track.
This commit is contained in:
1 parent
aa760b301c
commit
d847082696
12 files changed
+52
-21
No files matched your search
@@ -243,7 +243,7 @@ static NSArray<SBVobSubTrack *> * LoadVobSubSubtitles(NSURL *theDirectory, NSStr
|
||||
newTrack.URL = self.fileURL;
|
||||
newTrack.alternate_group = 2;
|
||||
newTrack.trackId = count++;
|
||||
newTrack.language = [NSString stringWithFormat:@"%s", lang_for_code_s([track->language UTF8String])->eng_name];;
|
||||
newTrack.language = [NSString stringWithFormat:@"%s", lang_for_code_s([track->language UTF8String])->iso639_2];;
|
||||
newTrack.duration = track->duration;
|
||||
|
||||
[self addTrack:newTrack];
|
||||
|
||||
Reference in new issue
Block a user