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

pull/1099/head
Alexander Smorkalov 12 years ago
parent 1a2458885b
commit f77d1f57ee
  1. 2
      modules/highgui/src/cap.cpp

@ -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;

Loading…
Cancel
Save