1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Merge pull request #13422 from mshabunin:split-videoio-cmake

* Split videoio dependencies search into pieces, removed obsolete backends
This commit is contained in:
Maksim Shabunin
2018-12-26 15:50:20 +03:00
committed by Alexander Alekhin
parent e267342108
commit 73959fed45
52 changed files with 737 additions and 5230 deletions
+3 -4
View File
@@ -3,8 +3,6 @@
// of this distribution and at http://opencv.org/license.html
#include "perf_precomp.hpp"
#ifdef HAVE_VIDEO_OUTPUT
namespace opencv_test
{
using namespace perf;
@@ -38,11 +36,12 @@ PERF_TEST_P(VideoWriter_Writing, WriteFrame,
#endif
VideoWriter writer(outfile, fourcc, 25, cv::Size(image.cols, image.rows), isColor);
if (!writer.isOpened())
throw SkipTestException("Video file can not be opened");
TEST_CYCLE_N(100) { writer << image; }
SANITY_CHECK_NOTHING();
remove(outfile.c_str());
}
} // namespace
#endif // HAVE_VIDEO_OUTPUT