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, 2 insertions, 1 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c
index 0b560ebad..3d5c62cc7 100644
--- a/gtk/src/preview.c
+++ b/gtk/src/preview.c
@@ -810,7 +810,8 @@ 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 = ghb_add_job(ghb_live_handle(), js);
+ GhbValue *job_dict = ghb_dict_get(js, "Job");
+ ud->preview->live_id = ghb_add_job(ghb_live_handle(), job_dict);
ghb_start_live_encode();
ghb_value_free(&js);
}