diff options
author | jstebbins <[email protected]> | 2010-11-03 20:27:24 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-11-03 20:27:24 +0000 |
commit | 4e579572c33de09130a796e26bc0c053829b5419 (patch) | |
tree | e3a946265bf25b8119fd2af2b4fd09607c1bb0ef /gtk | |
parent | 2ea9e5f6a52da5f991ff49330c9a3ccaf40d08ca (diff) |
LinGui: Fix a problem with updating mixdown combo
The first time the codec combo changes, the mixdown didn't get
sanitized and updated.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3644 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/audiohandler.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c index b96b7d772..f36cf506d 100644 --- a/gtk/src/audiohandler.c +++ b/gtk/src/audiohandler.c @@ -403,7 +403,13 @@ audio_codec_changed_cb(GtkWidget *widget, signal_user_data_t *ud) GValue *asettings, *gval; g_debug("audio_codec_changed_cb ()"); - if (block_updates) return; + gval = ghb_widget_value(widget); + acodec_code = ghb_lookup_combo_int("AudioEncoder", gval); + if (block_updates) + { + prev_acodec = acodec_code; + return; + } gval = ghb_widget_value(widget); acodec_code = ghb_lookup_combo_int("AudioEncoder", gval); |