Commit f77d1f57 authored by Alexander Smorkalov's avatar Alexander Smorkalov

V4L and V4L2 based Video capture bug fix (Bugfix #3144).

parent 1a245888
...@@ -220,8 +220,8 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index) ...@@ -220,8 +220,8 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
return capture; return capture;
break; break;
#endif #endif
#ifdef HAVE_VFW
case CV_CAP_VFW: case CV_CAP_VFW:
#ifdef HAVE_VFW
capture = cvCreateCameraCapture_VFW (index); capture = cvCreateCameraCapture_VFW (index);
if (capture) if (capture)
return capture; return capture;
......
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