V4L and V4L2 based Video capture bug fix (Bugfix #3144).
This commit is contained in:
parent
1a2458885b
commit
f77d1f57ee
@ -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…
Reference in New Issue
Block a user