diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/audiohandler.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c index 4a87a2763..f6b346646 100644 --- a/gtk/src/audiohandler.c +++ b/gtk/src/audiohandler.c @@ -21,6 +21,7 @@ #include "audiohandler.h" static void ghb_add_audio(signal_user_data_t *ud, GValue *settings); +static GValue* get_selected_asettings(signal_user_data_t *ud); void ghb_adjust_audio_rate_combos(signal_user_data_t *ud) @@ -128,6 +129,13 @@ ghb_adjust_audio_rate_combos(signal_user_data_t *ud) ghb_settings_take_value(ud->settings, "AudioEncoderActual", ghb_lookup_acodec_value(select_acodec)); + GValue *asettings = get_selected_asettings(ud); + if (asettings) + { + ghb_settings_take_value(asettings, "AudioEncoderActual", + ghb_lookup_acodec_value(select_acodec)); + } + ghb_audio_list_refresh_selected(ud); ghb_check_dependency(ud, NULL, "AudioEncoderActual"); } |