Also check if out cues are chainable

This commit is contained in:
Martijn van Berkel (Flitskikker) 2024-02-21 12:24:27 +01:00
parent 7e6d3c2424
commit 3a6025e4da

View File

@ -81,8 +81,18 @@ namespace Nikse.SubtitleEdit.Core.Forms
}
else
{
// If not, then we have a free out cue
FixOutCue(p);
// If not, check if we have chainable subtitles
result = FixChainableSubtitles(paragraph, nextParagraph);
if (result)
{
// Yes, this means the next subtitle's in cue is now also processed. Skipping in next iteration
skipNextInCue = true;
}
else
{
// If not, then we have a free out cue
FixOutCue(p);
}
}
// Report progress