From 4c719cadc9a4158de14434236701721afd505396 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 13 Jun 2009 18:52:32 +0000 Subject: LinGui: delete usage of job->select_subtitle. it's definition has been removed from libhb. it's functionality was moved into the interjob struct git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2529 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/hb-backend.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gtk') diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 0c3aac98a..ccc91c8ec 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -3971,7 +3971,6 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex) gint subtitle; gboolean force, burned, def, one_burned = FALSE; - job->select_subtitle = NULL; subtitle_list = ghb_settings_get_value(js, "subtitle_list"); count = ghb_array_len(subtitle_list); for (ii = 0; ii < count; ii++) @@ -4006,8 +4005,6 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex) job->select_subtitle_config.force = force; job->select_subtitle_config.default_track = def; job->indepth_scan = 1; - job->select_subtitle = malloc(sizeof(hb_subtitle_t*)); - *job->select_subtitle = NULL; } else if (subtitle >= 0) { @@ -4083,8 +4080,6 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex) * for the second pass and then off again for the * second. */ - hb_subtitle_t **subtitle_tmp = job->select_subtitle; - job->select_subtitle = NULL; job->pass = 1; job->indepth_scan = 0; @@ -4129,7 +4124,6 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex) //if (job->x264opts != NULL) // g_free(job->x264opts); - job->select_subtitle = subtitle_tmp; job->pass = 2; /* * On the second pass we turn off subtitle scan so that we -- cgit v1.2.3