diff options
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 11cb25468..f953f9c00 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -2879,6 +2879,13 @@ the user is using "Custom" settings by determining the sender*/ [fAudTrack1DrcSlider setFloatValue: 1.00]; [self audioDRCSliderChanged: fAudTrack1DrcSlider]; } + else if ([[fAudTrack1MixPopUp selectedItem] tag] == HB_ACODEC_AC3) + { + [fAudTrack1RatePopUp setEnabled: NO]; + [fAudTrack1BitratePopUp setEnabled: NO]; + [fAudTrack1DrcSlider setEnabled: NO]; + [fAudTrack1DrcField setEnabled: NO]; + } /* enable/disable the mixdown text and popupbutton for audio track 2 */ [fAudTrack2CodecPopUp setEnabled: ([fAudLang2PopUp indexOfSelectedItem] == 0) ? NO : YES]; @@ -2896,6 +2903,13 @@ the user is using "Custom" settings by determining the sender*/ [fAudTrack2DrcSlider setFloatValue: 1.00]; [self audioDRCSliderChanged: fAudTrack2DrcSlider]; } + else if ([[fAudTrack2MixPopUp selectedItem] tag] == HB_ACODEC_AC3) + { + [fAudTrack2RatePopUp setEnabled: NO]; + [fAudTrack2BitratePopUp setEnabled: NO]; + [fAudTrack2DrcSlider setEnabled: NO]; + [fAudTrack2DrcField setEnabled: NO]; + } /* enable/disable the mixdown text and popupbutton for audio track 3 */ [fAudTrack3CodecPopUp setEnabled: ([fAudLang3PopUp indexOfSelectedItem] == 0) ? NO : YES]; @@ -2913,6 +2927,13 @@ the user is using "Custom" settings by determining the sender*/ [fAudTrack3DrcSlider setFloatValue: 1.00]; [self audioDRCSliderChanged: fAudTrack3DrcSlider]; } + else if ([[fAudTrack3MixPopUp selectedItem] tag] == HB_ACODEC_AC3) + { + [fAudTrack3RatePopUp setEnabled: NO]; + [fAudTrack3BitratePopUp setEnabled: NO]; + [fAudTrack3DrcSlider setEnabled: NO]; + [fAudTrack3DrcField setEnabled: NO]; + } /* enable/disable the mixdown text and popupbutton for audio track 4 */ [fAudTrack4CodecPopUp setEnabled: ([fAudLang4PopUp indexOfSelectedItem] == 0) ? NO : YES]; @@ -2930,6 +2951,13 @@ the user is using "Custom" settings by determining the sender*/ [fAudTrack4DrcSlider setFloatValue: 1.00]; [self audioDRCSliderChanged: fAudTrack4DrcSlider]; } + else if ([[fAudTrack4MixPopUp selectedItem] tag] == HB_ACODEC_AC3) + { + [fAudTrack4RatePopUp setEnabled: NO]; + [fAudTrack4BitratePopUp setEnabled: NO]; + [fAudTrack4DrcSlider setEnabled: NO]; + [fAudTrack4DrcField setEnabled: NO]; + } } |