Merge pull request #23117 from alalek:test_skip_sporadic_23116

This commit is contained in:
Alexander Alekhin 2023-01-09 11:06:37 +00:00
commit 2ab46d9553

View File

@ -264,6 +264,8 @@ TEST_P(Media, audio)
{
if (!videoio_registry::hasBackend(cv::VideoCaptureAPIs(backend)))
throw SkipTestException(cv::videoio_registry::getBackendName(backend) + " backend was not found");
if (cvtest::skipUnstableTests && backend == CAP_GSTREAMER)
throw SkipTestException("Unstable GStreamer test");
doTest();
}