Fix a logic error that caused the ac-3 track to be always added in the destination file.
This commit is contained in:
1 parent
a881dfcb96
commit
109a71d3b4
1 file changed
+1
-1
@@ -167,7 +167,7 @@
|
||||
for (MP42Track *track in fileImporter.tracks) {
|
||||
if ([track.format isEqualToString:MP42AudioFormatAC3]) {
|
||||
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"SBAudioConvertAC3"] boolValue]) {
|
||||
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"SBAudioKeepAC3"] boolValue] ||
|
||||
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"SBAudioKeepAC3"] boolValue] &&
|
||||
![(MP42AudioTrack *)track fallbackTrack]) {
|
||||
MP42AudioTrack *copy = [track copy];
|
||||
[copy setNeedConversion:YES];
|
||||
|
||||
Reference in new issue
Block a user