diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/subtitlehandler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/src/subtitlehandler.c b/gtk/src/subtitlehandler.c index df39c5316..34683b46e 100644 --- a/gtk/src/subtitlehandler.c +++ b/gtk/src/subtitlehandler.c @@ -130,6 +130,7 @@ ghb_add_subtitle(signal_user_data_t *ud, GValue *settings) gint count; gboolean burned; const gchar *track; + const gchar *lang; gint tt, source; g_debug("ghb_add_subtitle ()"); @@ -139,6 +140,9 @@ ghb_add_subtitle(signal_user_data_t *ud, GValue *settings) track = ghb_settings_combo_option(settings, "SubtitleTrack"); ghb_settings_set_string(settings, "SubtitleTrackDescription", track); + lang = ghb_settings_combo_string(settings, "SubtitleTrack"); + ghb_settings_set_string(settings, "SubtitleLanguage", lang); + tt = ghb_settings_get_int(settings, "SubtitleTrack"); source = ghb_subtitle_track_source(ud, tt); ghb_settings_set_int(settings, "SubtitleSource", source); |