mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
videoio: fix compilation with Aravis enabled
This commit is contained in:
parent
77b01deb80
commit
29976a04c5
@ -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…
Reference in New Issue
Block a user