diff options
author | jstebbins <[email protected]> | 2009-06-27 18:25:44 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-27 18:25:44 +0000 |
commit | e1e0880914dd2d87a31bbb935d14862ea8922832 (patch) | |
tree | a6b4f23483f199c9c0b6875cea20d18b9b7cb817 | |
parent | 55e1c50521af6d6be32d3a3477ee79b074c6853b (diff) |
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
-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); |