mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Fix not showing vobsub from mp4 - thx Luc :)
This commit is contained in:
parent
780d9d795e
commit
f5317c2776
@ -254,7 +254,11 @@ namespace Nikse.SubtitleEdit.Core.ContainerFormats.Mp4.Boxes
|
||||
timeEnd = allTimes[index + 1];
|
||||
}
|
||||
|
||||
if (Texts.Count > textIndex)
|
||||
if (_mdia.IsVobSubSubtitle && SubPictures.Count > textIndex)
|
||||
{
|
||||
paragraphs.Add(new Paragraph(string.Empty, timeStart * 1000.0, timeEnd * 1000.0));
|
||||
}
|
||||
else if (Texts.Count > textIndex)
|
||||
{
|
||||
paragraphs.Add(new Paragraph(Texts[textIndex], timeStart * 1000.0, timeEnd * 1000.0));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user