From d2c4d811967a58f0e6184f7daa9872b4530cb4f6 Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Mon, 7 Dec 2020 21:00:43 +0100 Subject: [PATCH] Use webm for streaming test Former-commit-id: d64f2dddeb59cbf3ec5898b6ed28c2a6d70fcc7c --- FFMpegCore.Test/FFProbeTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FFMpegCore.Test/FFProbeTests.cs b/FFMpegCore.Test/FFProbeTests.cs index fe5f9f9..21d9d34 100644 --- a/FFMpegCore.Test/FFProbeTests.cs +++ b/FFMpegCore.Test/FFProbeTests.cs @@ -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); }