sync: fix handling of overlapping SSA import subs

(cherry picked from commit c19ae0d178283a5845a105c97f700917308eed79)
This commit is contained in:
John Stebbins 2020-06-06 08:46:33 -06:00
parent a19b4b0a30
commit 791adbac59
No known key found for this signature in database
GPG Key ID: 49F1D7B260D4D0F7

View File

@ -1121,6 +1121,7 @@ static void fixSubtitleOverlap( sync_stream_t * stream )
}
// Only SSA subs can overlap
if (stream->subtitle.subtitle->source != SSASUB &&
stream->subtitle.subtitle->source != IMPORTSSA &&
stream->subtitle.subtitle->config.dest == PASSTHRUSUB &&
buf->s.start <= stream->last_pts)
{