diff options
author | John Stebbins <[email protected]> | 2016-05-25 13:01:22 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-05-25 13:01:22 -0600 |
commit | c40fd397d9058e4546fc12c0be701c183bc9867f (patch) | |
tree | a9dc9636a7b22226606138dc77cb8b901b66a6e9 | |
parent | cfd756af552be892d40831a56d6fed1817e4a93c (diff) |
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.
-rw-r--r-- | libhb/sync.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |