mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
Merge pull request #18014 from lpea:fix_build_with_aravis
This commit is contained in:
commit
11eff8bae0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user