summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-01-06 08:52:19 -0700
committerJohn Stebbins <[email protected]>2019-01-14 13:36:08 -0800
commitc461f868d117099c0b91ab7c7bfde70c8a726f90 (patch)
tree8d6e7d9b469eb0822915eacc0b584c6b2640e49b
parent36a9a9f63aaf8dad0e84605354e5e9d4359429eb (diff)
decssasub: fix subtitle start/stop time offset
-rw-r--r--libhb/decssasub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decssasub.c b/libhb/decssasub.c
index 4bf9c79d5..331a2b0fd 100644
--- a/libhb/decssasub.c
+++ b/libhb/decssasub.c
@@ -441,9 +441,9 @@ decode_line_to_mkv_ssa( hb_work_private_t * pv, char * line, int size )
out->size = strlen(mkvSSA) + 1;
out->s.frametype = HB_FRAME_SUBTITLE;
- out->s.start = start;
+ out->s.start = start + pv->subtitle->config.offset * 90;
out->s.duration = stop - start;
- out->s.stop = stop;
+ out->s.stop = stop + pv->subtitle->config.offset * 90;
if( out->size == 0 )
{