mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 00:24:14 +01:00
parent
c2f7b36a5e
commit
d2c4d81196
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