Merge pull request #15239 from alalek:videoio_skip_msmf_tests2

pull/15237/head^2
Alexander Alekhin 6 years ago
commit 90ccd2f37c
  1. 2
      modules/videoio/test/test_video_io.cpp

@ -83,6 +83,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;
ASSERT_NO_THROW(cap.open(video_file, apiPref));
if (!cap.isOpened())

Loading…
Cancel
Save