mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 01:55:45 +00:00
Fix linting
This commit is contained in:
parent
f0f60c8bd8
commit
5356536f37
1 changed files with 6 additions and 6 deletions
|
|
@ -821,17 +821,17 @@ public class VideoTest
|
|||
Assert.AreEqual(input.PrimaryVideoStream!.Height, result.PrimaryVideoStream!.Height);
|
||||
Assert.AreEqual(input.PrimaryVideoStream.Width, result.PrimaryVideoStream.Width);
|
||||
}
|
||||
|
||||
|
||||
[TestMethod]
|
||||
[Timeout(BaseTimeoutMilliseconds, CooperativeCancellation = true)]
|
||||
public void Video_Convert_Webm()
|
||||
{
|
||||
using var outputPath = new TemporaryFile("out.webm");
|
||||
|
||||
|
||||
var success = FFMpeg.Convert(TestResources.Mp4Video, outputPath, VideoType.WebM);
|
||||
Assert.IsTrue(success);
|
||||
Assert.IsTrue(File.Exists(outputPath));
|
||||
|
||||
|
||||
var input = FFProbe.Analyse(TestResources.Mp4Video);
|
||||
var result = FFProbe.Analyse(outputPath);
|
||||
Assert.AreEqual(input.Duration.Days, result.Duration.Days);
|
||||
|
|
@ -841,17 +841,17 @@ public class VideoTest
|
|||
Assert.AreEqual(input.PrimaryVideoStream!.Height, result.PrimaryVideoStream!.Height);
|
||||
Assert.AreEqual(input.PrimaryVideoStream.Width, result.PrimaryVideoStream.Width);
|
||||
}
|
||||
|
||||
|
||||
[TestMethod]
|
||||
[Timeout(BaseTimeoutMilliseconds, CooperativeCancellation = true)]
|
||||
public void Video_Convert_Ogv()
|
||||
{
|
||||
using var outputPath = new TemporaryFile("out.ogv");
|
||||
|
||||
|
||||
var success = FFMpeg.Convert(TestResources.Mp4Video, outputPath, VideoType.Ogv);
|
||||
Assert.IsTrue(success);
|
||||
Assert.IsTrue(File.Exists(outputPath));
|
||||
|
||||
|
||||
var input = FFProbe.Analyse(TestResources.Mp4Video);
|
||||
var result = FFProbe.Analyse(outputPath);
|
||||
Assert.AreEqual(input.Duration.Days, result.Duration.Days);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue