From cb163a91418a59ae5d421dfb3c9f219525a920db Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 20 Jun 2009 18:43:04 +0000 Subject: [PATCH] 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 --- gtk/src/hb-backend.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.40.0