From c40fd397d9058e4546fc12c0be701c183bc9867f Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 25 May 2016 13:01:22 -0600 Subject: sync: fix CC burn-in It was dropping subtitles because the "end of CC" marker buffer can have the same time as the next valid CC which triggered the subtitle overlap dropping code. --- libhb/sync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libhb/sync.c b/libhb/sync.c index 6fe00c206..6a9eefd4a 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -866,7 +866,8 @@ static void fixSubtitleOverlap( sync_stream_t * stream ) return; } // Only SSA subs can overlap - if (stream->subtitle.subtitle->source != SSASUB && + if (stream->subtitle.subtitle->source != SSASUB && + stream->subtitle.subtitle->config.dest == PASSTHRUSUB && buf->s.start <= stream->last_pts) { int64_t overlap; -- cgit v1.2.3