Clean up MP42Track a bit.
This commit is contained in:
1 parent
cda91fca54
commit
0bd4e2644b
2 files changed
+3
-4
No files matched your search
@@ -788,7 +788,6 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
||||
for (MP42TextSample *chapter in chapterToBeImported) {
|
||||
[newChapter addChapter:chapter];
|
||||
}
|
||||
newChapter.duration = self.mp4.duration;
|
||||
[self.mp4 addTrack:newChapter];
|
||||
|
||||
[self updateChangeCount:NSChangeDone];
|
||||
@@ -1023,7 +1022,6 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
||||
|
||||
if (!chapterTrack) {
|
||||
chapterTrack = [[MP42ChapterTrack alloc] init];
|
||||
chapterTrack.duration = self.mp4.duration;
|
||||
[self.mp4 addTrack:chapterTrack];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user