mirror of https://github.com/HandBrake/HandBrake
sync: fix handling of overlapping SSA import subs
(cherry picked from commit c19ae0d178283a5845a105c97f700917308eed79)
This commit is contained in:
parent
a19b4b0a30
commit
791adbac59
|
|
@ -1121,6 +1121,7 @@ static void fixSubtitleOverlap( sync_stream_t * stream )
|
||||||
}
|
}
|
||||||
// Only SSA subs can overlap
|
// Only SSA subs can overlap
|
||||||
if (stream->subtitle.subtitle->source != SSASUB &&
|
if (stream->subtitle.subtitle->source != SSASUB &&
|
||||||
|
stream->subtitle.subtitle->source != IMPORTSSA &&
|
||||||
stream->subtitle.subtitle->config.dest == PASSTHRUSUB &&
|
stream->subtitle.subtitle->config.dest == PASSTHRUSUB &&
|
||||||
buf->s.start <= stream->last_pts)
|
buf->s.start <= stream->last_pts)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue