diff options
author | Rodeo <[email protected]> | 2012-06-18 21:11:48 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-06-18 21:11:48 +0000 |
commit | fc3e44b2ba28772fa559d39bd57b7a595a83292f (patch) | |
tree | 738449c393dcd8da6edf6881e53353b35e5c47b8 /macosx/HBAudio.m | |
parent | 510564b19b5a6d7ac77091cd02ec9c557941399f (diff) |
libhb: drop HB_INPUT_CH_LAYOUT_*
AV_CH_LAYOUT_* works for us, and as its usage becomes more widespread in libhb, translating between the two formats gets increasingly tedious.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4754 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudio.m')
-rw-r--r-- | macosx/HBAudio.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBAudio.m b/macosx/HBAudio.m index 3b5f2d4cf..51743dcfa 100644 --- a/macosx/HBAudio.m +++ b/macosx/HBAudio.m @@ -229,9 +229,9 @@ static NSMutableArray *masterBitRateArray = nil; BOOL shouldAdd; int currentMixdown; + unsigned long long channelLayout = [[track objectForKey: keyAudioInputChannelLayout] unsignedLongLongValue]; unsigned int count = [masterMixdownArray count]; int codecCodec = [[codec objectForKey: keyAudioCodec] intValue]; - int channelLayout = [[track objectForKey: keyAudioInputChannelLayout] intValue]; int theDefaultMixdown = hb_get_default_mixdown(codecCodec, channelLayout); int theBestMixdown = hb_get_best_mixdown(codecCodec, channelLayout, 0); |