videoio: fix compilation with Aravis enabled

This commit is contained in:
lpea 2020-08-02 14:26:48 +02:00
parent 77b01deb80
commit 29976a04c5

View File

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