Fixed syntax error in cap_dc1394_v2.cpp

This commit is contained in:
Alexander Reshetnikov 2012-02-24 12:27:20 +00:00
parent a8f0c93379
commit 9b5534a6e0

View File

@ -750,7 +750,7 @@ bool CvCaptureCAM_DC1394_v2_CPP::setProperty(int propId, double value)
//set AUTO
if (cvRound(value) == CV_CAP_PROP_DC1394_MODE_AUTO)
{
if (dc1394_feature_set_mode(dcCam, atc_feature->id, DC1394_FEATURE_MODE_AUTO)!=DC1394_SUCCESS)
if (dc1394_feature_set_mode(dcCam, act_feature->id, DC1394_FEATURE_MODE_AUTO)!=DC1394_SUCCESS)
return false;
act_feature->current_mode=DC1394_FEATURE_MODE_AUTO;
return true;