diff options
author | jstebbins <[email protected]> | 2014-04-09 23:34:31 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-04-09 23:34:31 +0000 |
commit | 908f352cabcbfc2fe01fd508c4067baa3a3c2768 (patch) | |
tree | 99a171569b7c57e39c444abf9aee4af3f71d1971 /libhb | |
parent | 9da171377eac94147a2c349839fc3dad90c872c3 (diff) |
rendersub: fix rendering SRT markup in CC subs
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6160 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/rendersub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/rendersub.c b/libhb/rendersub.c index 680b5f9ed..eaec996c6 100644 --- a/libhb/rendersub.c +++ b/libhb/rendersub.c @@ -653,6 +653,7 @@ static int textsub_work(hb_filter_object_t * filter, { switch (pv->type) { + case CC608SUB: case SRTSUB: case UTF8SUB: case TX3GSUB: @@ -1043,6 +1044,7 @@ static void srt_to_ssa(hb_buffer_t *sub_in) // Exchange data between input sub and new ssa_sub // After this, sub_in contains ssa data hb_buffer_swap_copy(sub_in, sub); + ssa = (char*)sub_in->data; pos = 0; ii = 0; while (srt[ii] != '\0') |