Skip to content

Commit 61ccd6e

Browse files
committed
cvv_demo.cpp build fix.
1 parent c4c74c4 commit 61ccd6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/cvv/samples/cvv_demo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ main(int argc, char** argv)
5656

5757
if (res_w>0 && res_h>0) {
5858
printf("Setting resolution to %dx%d\n", res_w, res_h);
59-
capture.set(CV_CAP_PROP_FRAME_WIDTH, res_w);
60-
capture.set(CV_CAP_PROP_FRAME_HEIGHT, res_h);
59+
capture.set(cv::CAP_PROP_FRAME_WIDTH, res_w);
60+
capture.set(cv::CAP_PROP_FRAME_HEIGHT, res_h);
6161
}
6262

6363

0 commit comments

Comments
 (0)