diff options
author | jstebbins <[email protected]> | 2015-04-05 23:21:09 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-04-05 23:21:09 +0000 |
commit | d030ab8b629ebd577ca845c4e77f9b7ef73dc936 (patch) | |
tree | 1123107c17349c3da80d42647ef4ec3b5e70fb1d /libhb/decutf8sub.c | |
parent | 712180d874cefa835b159461552543f071455d4d (diff) |
deccc608sub: improve CC positioning
The safe zone margin was not wide enough and the font size was a little
too small.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7063 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decutf8sub.c')
-rw-r--r-- | libhb/decutf8sub.c | 3 |
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; } |