From 6aba6fda2d6f76250b599c46d11cc3b25e3001cc Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Fri, 17 Apr 2026 10:56:46 +0300 Subject: [PATCH] Disable FFmpeg tests that need FFmpeg wrapper rebuild on Windows. --- modules/videoio/test/test_ffmpeg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/videoio/test/test_ffmpeg.cpp b/modules/videoio/test/test_ffmpeg.cpp index 0854dec433..986dbdb50a 100644 --- a/modules/videoio/test/test_ffmpeg.cpp +++ b/modules/videoio/test/test_ffmpeg.cpp @@ -845,6 +845,8 @@ TEST(videoio_ffmpeg, create_with_property_badarg) EXPECT_FALSE(cap.isOpened()); } +// requires FFmpeg wrapper rebuild on Windows +#ifndef _WIN32 TEST(videoio_ffmpeg, open_with_format_cv8uc3) { if (!videoio_registry::hasBackend(CAP_FFMPEG)) @@ -860,6 +862,7 @@ TEST(videoio_ffmpeg, open_with_format_cv8uc3) ASSERT_TRUE(cap.read(frame)); EXPECT_EQ(frame.channels(), 3); } +#endif // related issue: https://github.com/opencv/opencv/issues/16821 TEST(videoio_ffmpeg, DISABLED_open_from_web)