Multiple Windows RT fixes

TIFF build was fixed;
Direct Show back-end was enabled;
More accurate guards implemented.
This commit is contained in:
Alexander Smorkalov
2013-03-19 17:46:01 -07:00
parent 06aff4e7b0
commit 3d594c70ff
7 changed files with 54 additions and 33 deletions

View File

@@ -197,9 +197,9 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
{
#ifdef HAVE_VIDEOINPUT
case CV_CAP_DSHOW:
// capture = cvCreateCameraCapture_DShow (index);
// if (capture)
// return capture;
capture = cvCreateCameraCapture_DShow (index);
if (capture)
return capture;
return NULL;
break;
#endif