OSDN Git Service

LinGui: dim the drc label along with the control when passthru is selected
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 8 Jun 2009 23:59:05 +0000 (23:59 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 8 Jun 2009 23:59:05 +0000 (23:59 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@2505 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/audiohandler.c
gtk/src/internal_defaults.xml
gtk/src/widgetdeps.c

index ba25002..d1d9f23 100644 (file)
@@ -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)
        {
index 64de850..e845e59 100644 (file)
                                <key>AudioTrackDescription</key>
                                <string></string>
                                <key>AudioTrackDRCSlider</key>
-                               <real>1</real>
+                               <real>0</real>
                                <key>AudioMixdown</key>
                                <string>dpl2</string>
                                <key>AudioSamplerate</key>
index af8049f..481cbf0 100644 (file)
@@ -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},