videoio(test): skip unstable Media.audio test

This commit is contained in:
Alexander Alekhin 2023-01-09 10:06:10 +00:00
parent 9208dcb07c
commit 36815fe3f3

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();
}