From ba98cd97e5ec4e3a8e9e8ca62043348cc2269e40 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Tue, 8 Jun 2021 17:25:09 +0000 Subject: [PATCH] videoio(test): skip AV1 HW tests - FFMPEG: "[av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding." --- modules/videoio/test/test_video_io.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/videoio/test/test_video_io.cpp b/modules/videoio/test/test_video_io.cpp index 8c1f82f..8b6b16e 100644 --- a/modules/videoio/test/test_video_io.cpp +++ b/modules/videoio/test/test_video_io.cpp @@ -748,6 +748,9 @@ TEST_P(videocapture_acceleration, read) { if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4") throw SkipTestException("Unable to read the first frame with VP9 codec (media stack misconfiguration / bug)"); + // FFMPEG: [av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding. + if (filename == "sample_322x242_15frames.yuv420p.libaom-av1.mp4") + throw SkipTestException("Unable to read the first frame with AV1 codec (missing support)"); } EXPECT_TRUE(read_umat_result); ASSERT_FALSE(umat.empty()); @@ -760,6 +763,9 @@ TEST_P(videocapture_acceleration, read) { if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4") throw SkipTestException("Unable to read the first frame with VP9 codec (media stack misconfiguration / bug)"); + // FFMPEG: [av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding. + if (filename == "sample_322x242_15frames.yuv420p.libaom-av1.mp4") + throw SkipTestException("Unable to read the first frame with AV1 codec (missing support)"); } EXPECT_TRUE(read_result); } -- 2.7.4