diff options
author | ritsuka <[email protected]> | 2015-01-31 07:53:18 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-01-31 07:53:18 +0000 |
commit | a4416e99f06e31e1da8767d071e882f32c5a4e67 (patch) | |
tree | 9ebfa8b311c53a7b44d34715d8d2d318f4ba4f2a /libhb/rendersub.c | |
parent | f30872bdcb2f5a97eddfbb3ea9e06d952cf29042 (diff) |
Add support for open type font attachments.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6839 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/rendersub.c')
-rw-r--r-- | libhb/rendersub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/rendersub.c b/libhb/rendersub.c index 6dabf39a7..5bd84d2cc 100644 --- a/libhb/rendersub.c +++ b/libhb/rendersub.c @@ -472,7 +472,8 @@ static int ssa_init( hb_filter_object_t * filter, { hb_attachment_t * attachment = hb_list_item( list_attachment, i ); - if ( attachment->type == FONT_TTF_ATTACH ) + if ( attachment->type == FONT_TTF_ATTACH || + attachment->type == FONT_OTF_ATTACH ) { ass_add_font( pv->ssa, |