mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Improve mp4 parsing - thx OmrSi :)
This commit is contained in:
parent
1001026a70
commit
9ecc6e636b
@ -41,7 +41,11 @@ namespace Nikse.SubtitleEdit.Core.ContainerFormats.Mp4.Boxes
|
||||
timeScale = Mdhd.TimeScale;
|
||||
}
|
||||
|
||||
Minf = new Minf(fs, Position, timeScale, HandlerType, this);
|
||||
var tempMinf = new Minf(fs, Position, timeScale, HandlerType, this);
|
||||
if (tempMinf.Stbl != null)
|
||||
{
|
||||
Minf = tempMinf;
|
||||
}
|
||||
}
|
||||
else if (Name == "hdlr")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user