diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/audiohandler.c | 2 | ||||
-rw-r--r-- | gtk/src/hb-backend.c | 1 | ||||
-rw-r--r-- | gtk/src/internal_defaults.xml | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c index da1044ef1..3179c9359 100644 --- a/gtk/src/audiohandler.c +++ b/gtk/src/audiohandler.c @@ -644,6 +644,8 @@ audio_add_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud) ghb_settings_take_value(asettings, "AudioTrack", ghb_widget_value(widget)); widget = GHB_WIDGET(ud->builder, "AudioEncoder"); ghb_settings_take_value(asettings, "AudioEncoder", ghb_widget_value(widget)); + ghb_settings_set_value(asettings, "AudioEncoderActual", + ghb_settings_get_value(ud->settings, "AudioEncoderActual")); widget = GHB_WIDGET(ud->builder, "AudioBitrate"); ghb_settings_take_value(asettings, "AudioBitrate", ghb_widget_value(widget)); widget = GHB_WIDGET(ud->builder, "AudioSamplerate"); diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 8f1ac95fb..11eecbf2a 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -1071,6 +1071,7 @@ ghb_lookup_acodec_value(gint val) break; } } + value = ghb_string_value_new("auto"); return value; } diff --git a/gtk/src/internal_defaults.xml b/gtk/src/internal_defaults.xml index 3a67e42f3..2bda44783 100644 --- a/gtk/src/internal_defaults.xml +++ b/gtk/src/internal_defaults.xml @@ -4,6 +4,8 @@ <dict> <key>Initialization</key> <dict> + <key>AudioEncoderActual</key> + <string></string> <key>angle_count</key> <integer>1</integer> <key>angle</key> |