From e1e0880914dd2d87a31bbb935d14862ea8922832 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 27 Jun 2009 18:25:44 +0000 Subject: LinGui: fix a problem with saving subtitle language to preset git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2635 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/subtitlehandler.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk') 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); -- cgit v1.2.3