Use webm for streaming test

Former-commit-id: d64f2dddeb
This commit is contained in:
Malte Rosenbjerg 2020-12-07 21:00:43 +01:00
parent c2f7b36a5e
commit d2c4d81196

View file

@ -18,8 +18,8 @@ public void Probe_TooLongOutput()
[TestMethod]
public async Task Audio_FromStream_Duration()
{
var fileAnalysis = await FFProbe.AnalyseAsync(TestResources.Mp4Video);
await using var inputStream = File.OpenRead(TestResources.Mp4Video);
var fileAnalysis = await FFProbe.AnalyseAsync(TestResources.WebmVideo);
await using var inputStream = File.OpenRead(TestResources.WebmVideo);
var streamAnalysis = await FFProbe.AnalyseAsync(inputStream);
Assert.IsTrue(fileAnalysis.Duration == streamAnalysis.Duration);
}