- mwindow->batch_render->reset(1);
- create_dvd_jobs(&mwindow->batch_render->jobs, tmp_path, asset_title);
- mwindow->save_backup();
+ char asset_dir[BCTEXTLEN], jobs_path[BCTEXTLEN];
+ snprintf(asset_dir, sizeof(asset_dir), "%s/%s", tmp_path, asset_title);
+ snprintf(jobs_path, sizeof(jobs_path), "%s/dvd.jobs", asset_dir);
+ mwindow->batch_render->reset(jobs_path);
+ int ret = create_dvd_jobs(&mwindow->batch_render->jobs, asset_dir);