summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-06-12 00:40:27 +0000
committerjstebbins <[email protected]>2011-06-12 00:40:27 +0000
commiteec6219a25c01cfcff68dd083b0c48902647543a (patch)
tree76e84bcb33e79631344e749837aa2f77d706b15d /gtk/src/audiohandler.c
parenta7f20f9fd18e2569e8751320b583f8f9b04b3df2 (diff)
LinGui: fix a problem with mixdown options
incorrect mixdown options were disabled when the "Choose for me" encoder option was selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4043 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/audiohandler.c')
-rw-r--r--gtk/src/audiohandler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index de56340e5..330078647 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -96,7 +96,8 @@ ghb_adjust_audio_rate_combos(signal_user_data_t *ud)
}
else
{
- select_acodec = ghb_select_audio_codec(ud->settings, aconfig, acodec);
+ gint mux = ghb_settings_get_int(ud->settings, "FileFormat");
+ select_acodec = ghb_select_audio_codec(mux, aconfig, acodec);
if (acodec != HB_ACODEC_ANY)
{
ghb_ui_update(ud, "AudioEncoder", ghb_int64_value(select_acodec));