videoio(openni2): fix CV_CAP_PROP_OPENNI2_SYNC property
authorAlexander Alekhin <alexander.alekhin@intel.com>
Thu, 26 Apr 2018 11:16:03 +0000 (14:16 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Thu, 26 Apr 2018 11:16:03 +0000 (14:16 +0300)
modules/videoio/src/cap_openni2.cpp

index ce38055..b4a7808 100644 (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;