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

Updated saving paths for highgui tests

This commit is contained in:
Alexander Reshetnikov
2012-03-28 15:27:55 +00:00
parent 56f5fcd28c
commit cff117c08b
3 changed files with 45 additions and 45 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ void CV_PositioningTest::CreateTestVideo(const string& format, int codec, int fr
{
stringstream s; s << codec;
cv::VideoWriter writer(ts->get_data_path()+"../../../../test_video_"+s.str()+"."+format, codec, 25, cv::Size(640, 480), false);
cv::VideoWriter writer("test_video_"+s.str()+"."+format, codec, 25, cv::Size(640, 480), false);
for (int i = 0; i < framecount; ++i)
{
@@ -122,7 +122,7 @@ void CV_PositioningTest::run(int)
stringstream s; s << CV_FOURCC(codec[j][0], codec[j][1], codec[j][2], codec[j][3]); //codec_bmp_tags[j].tag;
const string file_path = ts->get_data_path()+"../../../../test_video_"+s.str()+"."+format[i];
const string file_path = "test_video_"+s.str()+"."+format[i];
bool error = false; int failed = 0;