From d4b5c3e9ea690220fb7e959aed0c68a2e73b0316 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 14 Jun 2011 01:24:34 +0000 Subject: Add DTS-HD passthru \o/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4055 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBAudioController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/HBAudioController.m') diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m index b604fcc87..be7df4507 100644 --- a/macosx/HBAudioController.m +++ b/macosx/HBAudioController.m @@ -105,7 +105,7 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [aDict setObject: [[anAudio bitRate] objectForKey: keyAudioBitrateName] forKey: [prefix stringByAppendingString: @"Bitrate"]]; // output is not passthru so apply gain - if (HB_ACODEC_AC3_PASS != [[[anAudio codec] objectForKey: keyAudioCodec] intValue] && HB_ACODEC_DCA_PASS != [[[anAudio codec] objectForKey: keyAudioCodec] intValue]) + if (!([[[anAudio codec] objectForKey: keyAudioCodec] intValue] & HB_ACODEC_PASS_FLAG)) { [aDict setObject: [anAudio gain] forKey: [prefix stringByAppendingString: @"TrackGainSlider"]]; } -- cgit v1.2.3