diff options
author | jstebbins <[email protected]> | 2009-06-13 18:52:32 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-13 18:52:32 +0000 |
commit | 4c719cadc9a4158de14434236701721afd505396 (patch) | |
tree | c1c08615bee4d327b14b33572e1a8f96fc7fdbcc /gtk/src/hb-backend.c | |
parent | 287e7975364684cf7d3fdbb4c10fbdb94e03b751 (diff) |
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
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 6 |
1 files changed, 0 insertions, 6 deletions
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 |