videoio(test): skip unstable MSMF tests

This commit is contained in:
Alexander Alekhin 2019-08-05 16:57:04 +03:00
parent d2c64b566b
commit 406313bbc5

View File

@ -168,6 +168,8 @@ public:
{
if (!isBackendAvailable(apiPref, cv::videoio_registry::getStreamBackends()))
throw SkipTestException(cv::String("Backend is not available/disabled: ") + cv::videoio_registry::getBackendName(apiPref));
if (cvtest::skipUnstableTests && apiPref == CAP_MSMF && (ext == "h264" || ext == "h265"))
throw SkipTestException("Unstable MSMF test");
VideoCapture cap;
EXPECT_NO_THROW(cap.open(video_file, apiPref));
if (!cap.isOpened())