diff options
author | John Stebbins <[email protected]> | 2016-12-29 09:16:17 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-12-29 09:17:20 -0700 |
commit | 66731cdde0a79c15347da498a89cc1cd56612933 (patch) | |
tree | f5e3fcec98badcb15bf60881569e367e422a25ef | |
parent | 6032048a751b1aebd9d0be508e3d267a96ada8fd (diff) |
CLI: fix csv file chapter import
(cherry picked from commit da3c7963a3ad43cfec616714bbc4a68671350c74)
-rw-r--r-- | test/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index ae7f8bfa3..b207e3c37 100644 --- a/test/test.c +++ b/test/test.c @@ -3989,12 +3989,12 @@ PrepareJob(hb_handle_t *h, hb_title_t *title, hb_dict_t *preset_dict) return NULL; } - if (hb_value_get_bool(hb_dict_get(job_dict, "ChapterMarkers"))) + hb_dict_t *dest_dict = hb_dict_get(job_dict, "Destination"); + if (hb_value_get_bool(hb_dict_get(dest_dict, "ChapterMarkers"))) { write_chapter_names(job_dict, marker_file); } - hb_dict_t *dest_dict = hb_dict_get(job_dict, "Destination"); hb_dict_set(dest_dict, "File", hb_value_string(output)); // Now that the job is initialized, we need to find out |