Merge pull request #18014 from lpea:fix_build_with_aravis

This commit is contained in:
Alexander Alekhin 2020-08-03 18:26:53 +00:00
commit 11eff8bae0

View File

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