From e3aa7a5eae21a2e5f69150278f76f57732e2a28a Mon Sep 17 00:00:00 2001 From: Dimitri Vranken Date: Mon, 20 Feb 2023 13:57:48 +0100 Subject: [PATCH] Removed invalid assertion --- FFMpegCore.Test/VideoTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FFMpegCore.Test/VideoTest.cs b/FFMpegCore.Test/VideoTest.cs index a6be018..9814666 100644 --- a/FFMpegCore.Test/VideoTest.cs +++ b/FFMpegCore.Test/VideoTest.cs @@ -461,7 +461,8 @@ public void Video_Snapshot_InMemory_SkiaSharp() var input = FFProbe.Analyse(TestResources.Mp4Video); Assert.AreEqual(input.PrimaryVideoStream!.Width, bitmap.Width); Assert.AreEqual(input.PrimaryVideoStream.Height, bitmap.Height); - Assert.AreEqual(bitmap.ColorType, SkiaSharp.SKColorType.Bgra8888); + // Note: The resulting ColorType is dependent on the execution environment and therefore not assessed, + // e.g. Bgra8888 on Windows and Rgba8888 on macOS. } [TestMethod, Timeout(BaseTimeoutMilliseconds)]