OSDN Git Service

MacGui: Audio mixdown fix
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 30 Nov 2010 17:19:03 +0000 (17:19 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 30 Nov 2010 17:19:03 +0000 (17:19 +0000)
- Patch by Rodeo. Thanks!
- Update the list of permitted mixdowns when the source audio track changes.
- Discussed here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18840

git-svn-id: svn://localhost/HandBrake/trunk@3689 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBAudio.m

index fe5d5da..c1c0cd5 100644 (file)
@@ -428,6 +428,7 @@ static NSMutableArray *masterBitRateArray = nil;
        else if (YES == [keyPath isEqualToString: @"track"]) {
                if (nil != [self track]) {
                        [self updateCodecs];
+                       [self updateMixdowns: YES];
                        if (YES == [self enabled]) {
                                [self setSampleRate: [[self sampleRates] objectAtIndex: 0]];    // default to Auto
                                }