summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-05-04 03:09:29 +0000
committerjstebbins <[email protected]>2009-05-04 03:09:29 +0000
commit5a1a257865a3156151ca16670f27c2d2f8a3ef56 (patch)
treed1d4a43f6e663a50b10afeda80406840564aa747 /gtk/src/queuehandler.c
parent6be1d2f6861284fede24d8ca1021905846008a5a (diff)
LinGui: integrate with eddyg's subtitle list changes
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2374 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 1ac36ca89..8ff54419a 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -646,6 +646,7 @@ queue_add(signal_user_data_t *ud)
GValue *settings;
gint titleindex;
gint titlenum;
+ gint sub;
g_debug("queue_add ()");
if (!validate_settings(ud))
@@ -662,6 +663,9 @@ queue_add(signal_user_data_t *ud)
ud->queue = ghb_array_value_new(32);
// Make a copy of current settings to be used for the new job
settings = ghb_value_dup(ud->settings);
+ sub = ghb_settings_combo_int(settings, "Subtitles");
+ ghb_settings_set_int(settings, "subtitle_index", sub);
+
ghb_settings_set_int(settings, "job_status", GHB_QUEUE_PENDING);
ghb_settings_set_int(settings, "job_unique_id", 0);
titleindex = ghb_settings_combo_int(settings, "title");