summaryrefslogtreecommitdiffstats
path: root/gtk/src/preview.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/preview.c')
-rw-r--r--gtk/src/preview.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c
index e567b7af0..e3336b076 100644
--- a/gtk/src/preview.c
+++ b/gtk/src/preview.c
@@ -799,8 +799,7 @@ live_preview_start_cb(GtkWidget *xwidget, signal_user_data_t *ud)
ghb_dict_set_int(range, "SeekPoints",
ghb_dict_get_int(ud->prefs, "preview_count"));
- ud->preview->live_id = 0;
- ghb_add_job(ghb_live_handle(), js, ud->preview->live_id);
+ ud->preview->live_id = ghb_add_job(ghb_live_handle(), js);
ghb_start_live_encode();
ghb_value_free(&js);
}