Use NSTimeInterval to store a track start offset, rename alternate_group to alternateGroup.

This commit is contained in:
Damiano Galassi committed 2017-09-01 07:36:51 +02:00
1 parent 1090173a92
commit b17ec191bc
4 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -151,7 +151,7 @@ static NSString *getColorProfileName(uint16_t colorPrimaries,
offsetX.stringValue = [NSString stringWithFormat:@"%d", track.offsetX];
offsetY.stringValue = [NSString stringWithFormat:@"%d", track.offsetY];
[alternateGroup selectItemAtIndex:(NSInteger)track.alternate_group];
[alternateGroup selectItemAtIndex:(NSInteger)track.alternateGroup];
if (track.format == kMP42VideoCodecType_H264 && track.origProfile && track.origLevel) {
profileLevelUnchanged.title = [NSString stringWithFormat:@"%@ %@ @ %@", NSLocalizedString(@"Current profile:", nil),
@@ -308,8 +308,8 @@ static NSString *getColorProfileName(uint16_t colorPrimaries,
{
NSInteger tagName = [sender selectedItem].tag;
if (track.alternate_group != tagName) {
track.alternate_group = tagName;
if (track.alternateGroup != tagName) {
track.alternateGroup = tagName;
[self.view.window.windowController.document updateChangeCount:NSChangeDone];
}
}