]> granicus.if.org Git - handbrake/commitdiff
MacGui: Audio mixdown fix
authordynaflash <dynaflashtech@gmail.com>
Tue, 30 Nov 2010 17:19:03 +0000 (17:19 +0000)
committerdynaflash <dynaflashtech@gmail.com>
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://svn.handbrake.fr/HandBrake/trunk@3689 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBAudio.m

index fe5d5da40af186a6645bc59651e583eb0fae5287..c1c0cd5910d8e21c66aaf61e16c92cc090d4687b 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
                                }