Fix bug in read of MP4 duration - thx Leon :)

This commit is contained in:
niksedk 2021-07-25 10:56:24 +02:00
parent 919d2a4adc
commit a1f5974479

View File

@ -524,7 +524,7 @@ namespace Nikse.SubtitleEdit.Core.Common
{
info.Width = mp4Parser.VideoResolution.X;
info.Height = mp4Parser.VideoResolution.Y;
info.TotalMilliseconds = mp4Parser.Duration.TotalSeconds;
info.TotalMilliseconds = mp4Parser.Duration.TotalSeconds * 1000;
info.VideoCodec = "MP4";
info.FramesPerSecond = mp4Parser.FrameRate;
info.Success = true;