mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Use webm for streaming test
This commit is contained in:
parent
4c24189f6b
commit
d64f2dddeb
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue