diff options
author | jstebbins <[email protected]> | 2015-04-10 16:26:53 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-04-10 16:26:53 +0000 |
commit | f25cbb75de1978706ac48a2eaf51c3e4f54cf451 (patch) | |
tree | 454a2a404c18b2e92515b6eb076e87c4fa08c945 /libhb/dectx3gsub.c | |
parent | 6ec1cc1e62c7df3d5cecac65d6f7446a438eefd6 (diff) |
text subtitles: make font height independent of cropping
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7078 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dectx3gsub.c')
-rw-r--r-- | libhb/dectx3gsub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/dectx3gsub.c b/libhb/dectx3gsub.c index 3aa22bf5c..76dc3b67d 100644 --- a/libhb/dectx3gsub.c +++ b/libhb/dectx3gsub.c @@ -250,7 +250,8 @@ static int dectx3gInit( hb_work_object_t * w, hb_job_t * job ) // 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; |