mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
commit
922e9c5811
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -1,5 +1,5 @@
|
||||||
name: CI
|
name: CI
|
||||||
on: pull_request
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -320,7 +320,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.0, video.Duration.TotalSeconds, 0.1);
|
Assert.AreEqual(79.5, video.Duration.TotalSeconds, 0.5);
|
||||||
Assert.AreEqual(1.25, video.Size);
|
Assert.AreEqual(1.25, video.Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue