// Generate generic SSA Script Info.
int height = job->title->geometry.height - job->crop[0] - job->crop[1];
int width = job->title->geometry.width - job->crop[2] - job->crop[3];
- hb_subtitle_add_ssa_header(w->subtitle, "Arial", .066 * height,
+ hb_subtitle_add_ssa_header(w->subtitle, "Arial",
+ .066 * job->title->geometry.height,
width, height);
}
return retval;
// For now we just create a generic SSA Script Info.
int height = job->title->geometry.height - job->crop[0] - job->crop[1];
int width = job->title->geometry.width - job->crop[2] - job->crop[3];
- hb_subtitle_add_ssa_header(w->subtitle, "Arial", .066 * height,
+ hb_subtitle_add_ssa_header(w->subtitle, "Arial",
+ .066 * job->title->geometry.height,
width, height);
return 0;
// Generate generic SSA Script Info.
int height = job->title->geometry.height - job->crop[0] - job->crop[1];
int width = job->title->geometry.width - job->crop[2] - job->crop[3];
- hb_subtitle_add_ssa_header(w->subtitle, "Arial", .066 * height,
+ hb_subtitle_add_ssa_header(w->subtitle, "Arial",
+ .066 * job->title->geometry.height,
width, height);
return 0;
// to have the header rewritten with the correct dimensions.
int height = job->title->geometry.height - job->crop[0] - job->crop[1];
int width = job->title->geometry.width - job->crop[2] - job->crop[3];
- hb_subtitle_add_ssa_header(filter->subtitle, "Arial", .066 * height,
+ hb_subtitle_add_ssa_header(filter->subtitle, "Arial",
+ .066 * job->title->geometry.height,
width, height);
return ssa_post_init(filter, job);
}