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
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);