From: jstebbins Date: Sat, 20 Jun 2009 18:43:04 +0000 (+0000) Subject: LinGui: fix a problem with 2 pass non-turbo mode X-Git-Tag: 0.9.4~372 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb163a91418a59ae5d421dfb3c9f219525a920db;p=handbrake 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 --- 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)