From 3441b2df657ae3af99895410bacbe90bc19fde58 Mon Sep 17 00:00:00 2001 From: Kevin Hughes Date: Mon, 22 Apr 2013 16:35:23 -0400 Subject: [PATCH] starter_video.cpp changed CV WINDOW KEEPRATIO to just WINDOW KEEPTATIO to fix build error --- samples/cpp/starter_video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/cpp/starter_video.cpp b/samples/cpp/starter_video.cpp index 6a34c84d2b..987c4b87d4 100644 --- a/samples/cpp/starter_video.cpp +++ b/samples/cpp/starter_video.cpp @@ -37,7 +37,7 @@ int process(VideoCapture& capture) { char filename[200]; string window_name = "video | q or esc to quit"; cout << "press space to save a picture. q or esc to quit" << endl; - namedWindow(window_name, CV_WINDOW_KEEPRATIO); //resizable window; + namedWindow(window_name, WINDOW_KEEPRATIO); //resizable window; Mat frame; for (;;) {