Fix build
This commit is contained in:
1 parent
7ff4c086d0
commit
cd3f3aab7d
4 files changed
+14
-14
No files matched your search
@@ -26,7 +26,7 @@
|
||||
for (MP42AudioTrack *fileTrack in [mp4file tracksWithMediaType:MP42MediaTypeAudio]) {
|
||||
if ([[fileTrack format] isEqualToString:MP42AudioFormatAAC]) {
|
||||
NSMenuItem *newItem = [[[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"%@ - %@ - %@",
|
||||
fileTrack.Id ? [NSString stringWithFormat:@"%d", fileTrack.Id] : @"na",
|
||||
fileTrack.trackId ? [NSString stringWithFormat:@"%d", fileTrack.trackId] : @"na",
|
||||
fileTrack.name,
|
||||
fileTrack.language]
|
||||
action:@selector(setFallbackTrack:)
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
for (MP42SubtitleTrack *fileTrack in [mp4file tracksWithMediaType:MP42MediaTypeSubtitle]) {
|
||||
NSMenuItem *newItem = [[[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"%@ - %@ - %@",
|
||||
fileTrack.Id ? [NSString stringWithFormat:@"%d", fileTrack.Id] : @"na",
|
||||
fileTrack.trackId ? [NSString stringWithFormat:@"%d", fileTrack.trackId] : @"na",
|
||||
fileTrack.name,
|
||||
fileTrack.language]
|
||||
action:@selector(setFollowsTrack:)
|
||||
|
||||
@@ -121,7 +121,7 @@ static NSString *getLevelName(uint8_t level) {
|
||||
NSInteger selectedItem = 0;
|
||||
for (MP42SubtitleTrack *fileTrack in [mp4file tracksWithMediaType:MP42MediaTypeSubtitle]) {
|
||||
NSMenuItem *newItem = [[[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"%@ - %@ - %@",
|
||||
fileTrack.Id ? [NSString stringWithFormat:@"%d", fileTrack.Id] : @"NA",
|
||||
fileTrack.trackId ? [NSString stringWithFormat:@"%d", fileTrack.trackId] : @"NA",
|
||||
fileTrack.name,
|
||||
fileTrack.language]
|
||||
action:@selector(setForcedTrack:)
|
||||
|
||||
@@ -431,7 +431,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
||||
return nil;
|
||||
|
||||
if ([tableColumn.identifier isEqualToString:@"trackId"])
|
||||
return (track.Id == 0) ? @"na" : [NSString stringWithFormat:@"%d", track.Id];
|
||||
return (track.trackId == 0) ? @"na" : [NSString stringWithFormat:@"%d", track.trackId];
|
||||
|
||||
if ([tableColumn.identifier isEqualToString:@"trackName"])
|
||||
return track.name;
|
||||
|
||||
+10
-10
@@ -308,7 +308,7 @@
|
||||
return [_importCheckArray objectAtIndex:rowIndex];
|
||||
|
||||
if ([tableColumn.identifier isEqualToString:@"trackId"])
|
||||
return [NSString stringWithFormat:@"%d", [object Id]];
|
||||
return [NSString stringWithFormat:@"%d", [object trackId]];
|
||||
|
||||
if ([tableColumn.identifier isEqualToString:@"trackName"])
|
||||
return [object name];
|
||||
@@ -447,31 +447,31 @@
|
||||
[[track.sourceURL pathExtension] caseInsensitiveCompare:@"h264"] == NSOrderedSame) {
|
||||
switch(conversion) {
|
||||
case 0:
|
||||
[track setId:2398];
|
||||
track.trackId = 2398;
|
||||
break;
|
||||
case 1:
|
||||
[track setId:24];
|
||||
track.trackId = 24;
|
||||
break;
|
||||
case 2:
|
||||
[track setId:25];
|
||||
track.trackId = 25;
|
||||
break;
|
||||
case 3:
|
||||
[track setId:2997];
|
||||
track.trackId = 2997;
|
||||
break;
|
||||
case 4:
|
||||
[track setId:30];
|
||||
track.trackId = 30;
|
||||
break;
|
||||
case 5:
|
||||
[track setId:50];
|
||||
track.trackId = 50;
|
||||
break;
|
||||
case 6:
|
||||
[track setId:5994];
|
||||
track.trackId = 5994;
|
||||
break;
|
||||
case 7:
|
||||
[track setId:60];
|
||||
track.trackId = 60;
|
||||
break;
|
||||
default:
|
||||
[track setId:2398];
|
||||
track.trackId = 2398;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user