diff options
author | dynaflash <[email protected]> | 2008-10-01 16:22:38 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-10-01 16:22:38 +0000 |
commit | 6a02c14e323dc2bd61200139abcbf13fbbc184c3 (patch) | |
tree | a2f623bf59476ead97d31ee7b1bbdc82a4f13884 /macosx | |
parent | d2787528d2a511c8ff314b687deb00c09e1599cf (diff) |
MacGui: Queue - Add drc info for the audio tracks thanks to NightStorm for bringing it to my attention.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1798 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBQueueController.mm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm index 01167b717..fbc46af35 100644 --- a/macosx/HBQueueController.mm +++ b/macosx/HBQueueController.mm @@ -905,6 +905,15 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [item objectForKey:@"Audio1Mixdown"] , [item objectForKey:@"Audio1Samplerate"], [item objectForKey:@"Audio1Bitrate"]]; + + if ([[item objectForKey:@"Audio1TrackDRCSlider"] floatValue] > 1.00) + { + audioDetail1 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail1,[item objectForKey:@"Audio1TrackDRCSlider"]]; + } + else + { + audioDetail1 = [NSString stringWithFormat:@"%@, DRC: Off",audioDetail1]; + } } if ([[item objectForKey:@"Audio2Track"] intValue] > 0) @@ -916,6 +925,15 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [item objectForKey:@"Audio2Mixdown"] , [item objectForKey:@"Audio2Samplerate"], [item objectForKey:@"Audio2Bitrate"]]; + + if ([[item objectForKey:@"Audio2TrackDRCSlider"] floatValue] > 1.00) + { + audioDetail2 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail2,[item objectForKey:@"Audio2TrackDRCSlider"]]; + } + else + { + audioDetail2 = [NSString stringWithFormat:@"%@, DRC: Off",audioDetail2]; + } } if ([[item objectForKey:@"Audio3Track"] intValue] > 0) @@ -927,7 +945,17 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [item objectForKey:@"Audio3Mixdown"] , [item objectForKey:@"Audio3Samplerate"], [item objectForKey:@"Audio3Bitrate"]]; + + if ([[item objectForKey:@"Audio3TrackDRCSlider"] floatValue] > 1.00) + { + audioDetail3 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail3,[item objectForKey:@"Audio3TrackDRCSlider"]]; + } + else + { + audioDetail3 = [NSString stringWithFormat:@"%@, DRC: Off",audioDetail3]; + } } + if ([[item objectForKey:@"Audio4Track"] intValue] > 0) { audioCodecSummary = [NSString stringWithFormat:@"%@, %@",audioCodecSummary ,[item objectForKey:@"Audio3Encoder"]]; @@ -937,6 +965,15 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [item objectForKey:@"Audio4Mixdown"] , [item objectForKey:@"Audio4Samplerate"], [item objectForKey:@"Audio4Bitrate"]]; + + if ([[item objectForKey:@"Audio4TrackDRCSlider"] floatValue] > 1.00) + { + audioDetail4 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail4,[item objectForKey:@"Audio4TrackDRCSlider"]]; + } + else + { + audioDetail4 = [NSString stringWithFormat:@"%@, DRC: Off",audioDetail4]; + } } NSString * jobFormatInfo; |