Commit 35c19442 authored by Alexander Reshetnikov's avatar Alexander Reshetnikov

updated 3 highgui tests

parent 778b51a6
......@@ -42,6 +42,7 @@
#include "test_precomp.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <stdio.h>
using namespace cv;
using namespace std;
......@@ -72,6 +73,8 @@ void CV_FramecountTest::run(int)
string file_path = src_dir+"video/big_buck_bunny."+ext[i];
printf("\nReading video file in %s...\n", file_path.c_str());
CvCapture *cap = cvCreateFileCapture(file_path.c_str());
if (!cap)
{
......
......@@ -42,6 +42,7 @@
#include "test_precomp.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <stdio.h>
using namespace cv;
using namespace std;
......@@ -131,6 +132,8 @@ void CV_VideoPositioningTest::run_test(int method)
{
string file_path = src_dir + "video/big_buck_bunny." + ext[i];
printf("\nReading video file in %s...\n", file_path.c_str());
CvCapture* cap = cvCreateFileCapture(file_path.c_str());
if (!cap)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment