videoio: fix compilation with Aravis enabled

pull/18014/head
lpea 4 years ago
parent 77b01deb80
commit 29976a04c5
  1. 4
      modules/videoio/src/cap_aravis.cpp

@ -502,7 +502,7 @@ double CvCaptureCAM_Aravis::getProperty( int property_id ) const
}
break;
case CAP_PROP_ARAVIS_AUTOTRIGGER:
case cv::CAP_PROP_ARAVIS_AUTOTRIGGER:
{
return allowAutoTrigger ? 1. : 0.;
}
@ -591,7 +591,7 @@ bool CvCaptureCAM_Aravis::setProperty( int property_id, double value )
}
break;
case CAP_PROP_ARAVIS_AUTOTRIGGER:
case cv::CAP_PROP_ARAVIS_AUTOTRIGGER:
{
allowAutoTrigger = (bool) value;
}

Loading…
Cancel
Save