videoio(openni2): fix CV_CAP_PROP_OPENNI2_SYNC property

pull/11402/head
Alexander Alekhin 7 years ago
parent f708a11f0f
commit 8e15c6fd78
  1. 1
      modules/videoio/src/cap_openni2.cpp

@ -490,6 +490,7 @@ double CvCapture_OpenNI2::getCommonProperty( int propIdx ) const
break;
case CV_CAP_PROP_OPENNI2_SYNC :
propValue = const_cast<CvCapture_OpenNI2 *>(this)->device.getDepthColorSyncEnabled();
break;
case CV_CAP_PROP_OPENNI2_MIRROR:
{
bool isMirroring = false;

Loading…
Cancel
Save