提交 434014b0 编写于 作者: A Alexander Alekhin

Merge pull request #17471 from asmorkalov:as/video_capability_check

......@@ -730,6 +730,8 @@ TEST(GAPI_Streaming_Types, OutputScalar)
cv::VideoCapture cap;
cap.open(video_path);
if (!cap.isOpened())
throw SkipTestException("Video file can not be opened");
cv::Mat tmp;
cv::Scalar out_scl;
......@@ -774,6 +776,8 @@ TEST(GAPI_Streaming_Types, OutputVector)
cv::VideoCapture cap;
cap.open(video_path);
if (!cap.isOpened())
throw SkipTestException("Video file can not be opened");
cv::Mat tmp;
std::vector<int> ref_vec;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册