summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-20 18:43:04 +0000
committerjstebbins <[email protected]>2009-06-20 18:43:04 +0000
commitcb163a91418a59ae5d421dfb3c9f219525a920db (patch)
tree5d219d356395fe0ed0ea7f408318902fdac7b776 /gtk/src
parent0865bab7662ff6e7e831705c5b0f2aa6916f855b (diff)
LinGui: fix a problem with 2 pass non-turbo mode
job->x264opts was not getting set in the first pass which caused segfault git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2590 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/hb-backend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index ab2bc2c5e..7dc568af7 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -4178,6 +4178,10 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex)
job->x264opts = tmp_x264opts;
}
+ else
+ {
+ job->x264opts = x264opts;
+ }
job->sequence_id = (unique_id & 0xFFFFFF) | (sub_id++ << 24);
hb_add( h, job );
//if (job->x264opts != NULL)