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

This commit is contained in:
Alexander Smorkalov 2013-07-09 16:07:55 +04:00
parent 1a2458885b
commit f77d1f57ee

View File

@ -220,8 +220,8 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
return capture;
break;
#endif
#ifdef HAVE_VFW
case CV_CAP_VFW:
#ifdef HAVE_VFW
capture = cvCreateCameraCapture_VFW (index);
if (capture)
return capture;