summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-11-05 21:40:26 +0000
committerdynaflash <[email protected]>2009-11-05 21:40:26 +0000
commitafb538d6dd33bf9ba93dffc908b2e308cf4e7496 (patch)
tree1da268682702e9d4783438e179859fbe317be2a0
parent0222e6cc50b30602cc419cb0c6dbc2e8385cc835 (diff)
MacGui: Make sure that drc is set to 0 by default (not just in the built in presets). Patch by Rodeo.
- Update the queue readout to only display "Off" for drc when the drc is 0.0 instead of 1.0 ( our previous off ). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2915 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/Controller.m10
-rw-r--r--macosx/HBQueueController.mm8
2 files changed, 9 insertions, 9 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 138d1f9ac..8fcd1ba7b 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -4987,7 +4987,7 @@ the user is using "Custom" settings by determining the sender*/
[fAudTrack1MixPopUp removeAllItems];
[fAudTrack1RatePopUp removeAllItems];
[fAudTrack1BitratePopUp removeAllItems];
- [fAudTrack1DrcSlider setFloatValue: 1.00];
+ [fAudTrack1DrcSlider setFloatValue: 0.00];
[self audioDRCSliderChanged: fAudTrack1DrcSlider];
}
else if ([[fAudTrack1MixPopUp selectedItem] tag] == HB_ACODEC_AC3 || [[fAudTrack1MixPopUp selectedItem] tag] == HB_ACODEC_DCA)
@@ -5011,7 +5011,7 @@ the user is using "Custom" settings by determining the sender*/
[fAudTrack2MixPopUp removeAllItems];
[fAudTrack2RatePopUp removeAllItems];
[fAudTrack2BitratePopUp removeAllItems];
- [fAudTrack2DrcSlider setFloatValue: 1.00];
+ [fAudTrack2DrcSlider setFloatValue: 0.00];
[self audioDRCSliderChanged: fAudTrack2DrcSlider];
}
else if ([[fAudTrack2MixPopUp selectedItem] tag] == HB_ACODEC_AC3 || [[fAudTrack2MixPopUp selectedItem] tag] == HB_ACODEC_DCA)
@@ -5035,7 +5035,7 @@ the user is using "Custom" settings by determining the sender*/
[fAudTrack3MixPopUp removeAllItems];
[fAudTrack3RatePopUp removeAllItems];
[fAudTrack3BitratePopUp removeAllItems];
- [fAudTrack3DrcSlider setFloatValue: 1.00];
+ [fAudTrack3DrcSlider setFloatValue: 0.00];
[self audioDRCSliderChanged: fAudTrack3DrcSlider];
}
else if ([[fAudTrack3MixPopUp selectedItem] tag] == HB_ACODEC_AC3 || [[fAudTrack3MixPopUp selectedItem] tag] == HB_ACODEC_DCA)
@@ -5059,7 +5059,7 @@ the user is using "Custom" settings by determining the sender*/
[fAudTrack4MixPopUp removeAllItems];
[fAudTrack4RatePopUp removeAllItems];
[fAudTrack4BitratePopUp removeAllItems];
- [fAudTrack4DrcSlider setFloatValue: 1.00];
+ [fAudTrack4DrcSlider setFloatValue: 0.00];
[self audioDRCSliderChanged: fAudTrack4DrcSlider];
}
else if ([[fAudTrack4MixPopUp selectedItem] tag] == HB_ACODEC_AC3 || [[fAudTrack4MixPopUp selectedItem] tag] == HB_ACODEC_DCA)
@@ -5735,7 +5735,7 @@ the user is using "Custom" settings by determining the sender*/
[bitratePopUp setEnabled: NO];
[sampleratePopUp setEnabled: NO];
- [drcSlider setFloatValue: 1.00];
+ [drcSlider setFloatValue: 0.00];
[self audioDRCSliderChanged: drcSlider];
[drcSlider setEnabled: NO];
[drcField setEnabled: NO];
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm
index bcc6adaf6..580c9e623 100644
--- a/macosx/HBQueueController.mm
+++ b/macosx/HBQueueController.mm
@@ -1023,7 +1023,7 @@ return ![(HBQueueOutlineView*)outlineView isDragging];
[item objectForKey:@"Audio1Samplerate"],
[item objectForKey:@"Audio1Bitrate"]];
- if ([[item objectForKey:@"Audio1TrackDRCSlider"] floatValue] > 1.00)
+ if ([[item objectForKey:@"Audio1TrackDRCSlider"] floatValue] > 0.00)
{
audioDetail1 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail1,[item objectForKey:@"Audio1TrackDRCSlider"]];
}
@@ -1043,7 +1043,7 @@ return ![(HBQueueOutlineView*)outlineView isDragging];
[item objectForKey:@"Audio2Samplerate"],
[item objectForKey:@"Audio2Bitrate"]];
- if ([[item objectForKey:@"Audio2TrackDRCSlider"] floatValue] > 1.00)
+ if ([[item objectForKey:@"Audio2TrackDRCSlider"] floatValue] > 0.00)
{
audioDetail2 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail2,[item objectForKey:@"Audio2TrackDRCSlider"]];
}
@@ -1063,7 +1063,7 @@ return ![(HBQueueOutlineView*)outlineView isDragging];
[item objectForKey:@"Audio3Samplerate"],
[item objectForKey:@"Audio3Bitrate"]];
- if ([[item objectForKey:@"Audio3TrackDRCSlider"] floatValue] > 1.00)
+ if ([[item objectForKey:@"Audio3TrackDRCSlider"] floatValue] > 0.00)
{
audioDetail3 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail3,[item objectForKey:@"Audio3TrackDRCSlider"]];
}
@@ -1083,7 +1083,7 @@ return ![(HBQueueOutlineView*)outlineView isDragging];
[item objectForKey:@"Audio4Samplerate"],
[item objectForKey:@"Audio4Bitrate"]];
- if ([[item objectForKey:@"Audio4TrackDRCSlider"] floatValue] > 1.00)
+ if ([[item objectForKey:@"Audio4TrackDRCSlider"] floatValue] > 0.00)
{
audioDetail4 = [NSString stringWithFormat:@"%@, DRC: %@",audioDetail4,[item objectForKey:@"Audio4TrackDRCSlider"]];
}