Make highgui.hpp independent from C API
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
//M*/
|
||||
|
||||
#include "test_precomp.hpp"
|
||||
#include "opencv2/highgui.hpp"
|
||||
#include "opencv2/highgui/highgui_c.h"
|
||||
#include <stdio.h>
|
||||
|
||||
using namespace cv;
|
||||
@@ -91,7 +91,7 @@ void CV_FramecountTest::run(int)
|
||||
FrameCount++;
|
||||
}
|
||||
|
||||
int framecount = (int)cvGetCaptureProperty(cap, CV_CAP_PROP_FRAME_COUNT);
|
||||
int framecount = (int)cvGetCaptureProperty(cap, CAP_PROP_FRAME_COUNT);
|
||||
|
||||
ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n"\
|
||||
"\nName: big_buck_bunny.%s\nActual frame count: %d\n"\
|
||||
|
||||
Reference in New Issue
Block a user