summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-08 23:59:05 +0000
committerjstebbins <[email protected]>2009-06-08 23:59:05 +0000
commitb8da9298baccad39da4e2928e7d79b9006400184 (patch)
tree4aede9ad7e982fe65b36a6bb19719f2ae2ecdc92
parent110f5b27f7370c38e4266c9a208d7a8594121c73 (diff)
LinGui: dim the drc label along with the control when passthru is selected
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2505 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--gtk/src/audiohandler.c1
-rw-r--r--gtk/src/internal_defaults.xml2
-rw-r--r--gtk/src/widgetdeps.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index ba250020c..d1d9f2395 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -63,6 +63,7 @@ ghb_adjust_audio_rate_combos(signal_user_data_t *ud)
ghb_ui_update(ud, "AudioSamplerate", ghb_int64_value(0));
ghb_ui_update(ud, "AudioMixdown", ghb_int64_value(0));
}
+ ghb_ui_update(ud, "AudioTrackDRCSlider", ghb_double_value(0));
}
else if (acodec == HB_ACODEC_FAAC && mix != HB_AMIXDOWN_6CH)
{
diff --git a/gtk/src/internal_defaults.xml b/gtk/src/internal_defaults.xml
index 64de850b8..e845e59ef 100644
--- a/gtk/src/internal_defaults.xml
+++ b/gtk/src/internal_defaults.xml
@@ -251,7 +251,7 @@
<key>AudioTrackDescription</key>
<string></string>
<key>AudioTrackDRCSlider</key>
- <real>1</real>
+ <real>0</real>
<key>AudioMixdown</key>
<string>dpl2</string>
<key>AudioSamplerate</key>
diff --git a/gtk/src/widgetdeps.c b/gtk/src/widgetdeps.c
index af8049f58..481cbf0ec 100644
--- a/gtk/src/widgetdeps.c
+++ b/gtk/src/widgetdeps.c
@@ -57,6 +57,7 @@ static dependency_t dep_map[] =
{"AudioEncoder", "AudioSamplerate", "ac3|dts|auto", TRUE, FALSE},
{"AudioEncoder", "AudioMixdown", "ac3|dts|auto", TRUE, FALSE},
{"AudioEncoder", "AudioTrackDRCSlider", "ac3|dts|auto", TRUE, FALSE},
+ {"AudioEncoder", "drc_label", "ac3|dts|auto", TRUE, FALSE},
{"x264_bframes", "x264_weighted_bframes", "0", TRUE, FALSE},
{"x264_bframes", "x264_bpyramid", "<2", TRUE, FALSE},
{"x264_bframes", "x264_direct", "0", TRUE, FALSE},