diff options
Diffstat (limited to 'libhb/rendersub.c')
-rw-r--r-- | libhb/rendersub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/rendersub.c b/libhb/rendersub.c index 1ea4c7648..6c1a6339b 100644 --- a/libhb/rendersub.c +++ b/libhb/rendersub.c @@ -596,10 +596,10 @@ static int cc608sub_post_init( hb_filter_object_t * filter, hb_job_t * job ) // 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]; - int safe_height = 0.8 * height; + int safe_height = 0.8 * job->title->geometry.height; // Use fixed widht font for CC hb_subtitle_add_ssa_header(filter->subtitle, "Courier New", - .08 * safe_height, width, height); + .066 * safe_height, width, height); return ssa_post_init(filter, job); } |