From 908f352cabcbfc2fe01fd508c4067baa3a3c2768 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 9 Apr 2014 23:34:31 +0000 Subject: rendersub: fix rendering SRT markup in CC subs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6160 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/rendersub.c | 2 ++ 1 file changed, 2 insertions(+) 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') -- cgit v1.2.3