mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
51d2a078c9
commit
2c08a4a72b
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ public void Video_With_Only_Audio_Should_Extract_Metadata()
|
||||||
var video = VideoInfo.FromFileInfo(VideoLibrary.LocalVideoAudioOnly);
|
var video = VideoInfo.FromFileInfo(VideoLibrary.LocalVideoAudioOnly);
|
||||||
Assert.AreEqual("none", video.VideoFormat);
|
Assert.AreEqual("none", video.VideoFormat);
|
||||||
Assert.AreEqual("aac", video.AudioFormat);
|
Assert.AreEqual("aac", video.AudioFormat);
|
||||||
Assert.AreEqual(79, (int)video.Duration.TotalSeconds);
|
Assert.AreEqual(79.0, video.Duration.TotalSeconds, 0.1);
|
||||||
Assert.AreEqual(1.25, video.Size);
|
Assert.AreEqual(1.25, video.Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue