summaryrefslogtreecommitdiffstats
path: root/libhb/decutf8sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decutf8sub.c')
-rw-r--r--libhb/decutf8sub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/decutf8sub.c b/libhb/decutf8sub.c
index 29c90383d..82209241b 100644
--- a/libhb/decutf8sub.c
+++ b/libhb/decutf8sub.c
@@ -37,7 +37,8 @@ static int decutf8Init(hb_work_object_t *w, hb_job_t *job)
// 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", width, height);
+ hb_subtitle_add_ssa_header(w->subtitle, "Arial", .066 * height,
+ width, height);
return 0;
}