mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Fix bug in read of MP4 duration - thx Leon :)
This commit is contained in:
parent
919d2a4adc
commit
a1f5974479
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user