videoio(openni2): fix CV_CAP_PROP_OPENNI2_SYNC property

This commit is contained in:
Alexander Alekhin 2018-04-26 14:16:03 +03:00
parent f708a11f0f
commit 8e15c6fd78

View File

@ -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;