Merge pull request #5156 from brunomorishita:fix_build
This commit is contained in:
commit
e866680d96
@ -234,7 +234,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
|
||||
#ifdef HAVE_OPENNI2
|
||||
case CV_CAP_OPENNI2:
|
||||
if (!capture)
|
||||
capture = cvCreateCameraCapture_OpenNI(index);
|
||||
capture = cvCreateCameraCapture_OpenNI2(index);
|
||||
if (pref) break;
|
||||
#endif
|
||||
|
||||
|
@ -903,7 +903,7 @@ IplImage* CvCapture_OpenNI2::retrieveFrame( int outputType )
|
||||
return image;
|
||||
}
|
||||
|
||||
CvCapture* cvCreateCameraCapture_OpenNI( int index )
|
||||
CvCapture* cvCreateCameraCapture_OpenNI2( int index )
|
||||
{
|
||||
CvCapture_OpenNI2* capture = new CvCapture_OpenNI2( index );
|
||||
|
||||
|
@ -120,6 +120,7 @@ CvCapture* cvCreateFileCapture_MSMF (const char* filename);
|
||||
CvVideoWriter* cvCreateVideoWriter_MSMF( const char* filename, int fourcc,
|
||||
double fps, CvSize frameSize, int is_color );
|
||||
CvCapture* cvCreateCameraCapture_OpenNI( int index );
|
||||
CvCapture* cvCreateCameraCapture_OpenNI2( int index );
|
||||
CvCapture* cvCreateFileCapture_OpenNI( const char* filename );
|
||||
CvCapture* cvCreateCameraCapture_Android( int index );
|
||||
CvCapture* cvCreateCameraCapture_XIMEA( int index );
|
||||
|
Loading…
Reference in New Issue
Block a user