removed unnecessary members of CvCapture_OpenNI

This commit is contained in:
Maria Dimashova
2012-03-21 11:58:25 +00:00
parent 5c23d52618
commit fedff0922e
3 changed files with 76 additions and 56 deletions

View File

@@ -326,6 +326,11 @@ CV_IMPL CvCapture * cvCreateFileCapture (const char * filename)
if (! result)
result = cvCreateFileCapture_AVFoundation (filename);
#endif
#ifdef HAVE_OPENNI
if (! result)
result = cvCreateFileCapture_OpenNI (filename);
#endif
if (! result)
result = cvCreateFileCapture_Images (filename);