Add the options to fix the fallbacks to the gui.

This commit is contained in:
Damiano Galassi committed 2015-11-24 15:10:17 +01:00
1 parent 8ba668a616
commit 56c4dcfc29
9 files changed
+99 -21

No files matched your search

+10
View File
@@ -385,6 +385,9 @@
if (action == @selector(iTunesFriendlyTrackGroups:))
return YES;
if (action == @selector(fixAudioFallbacks:))
return YES;
if (action == @selector(export:) && [fileTracksTable selectedRow] != -1)
if ([[self.mp4 trackAtIndex:[fileTracksTable selectedRow]] respondsToSelector:@selector(exportToURL:error:)] &&
[[self.mp4 trackAtIndex:[fileTracksTable selectedRow]] muxed])
@@ -951,6 +954,13 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
[self updateChangeCount:NSChangeDone];
}
- (IBAction)fixAudioFallbacks:(id)sender {
[self.mp4 setAutoFallback];
[fileTracksTable reloadData];
[self reloadPropertyView];
[self updateChangeCount:NSChangeDone];
}
// Drag & Drop
- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender {