Restored missed }
This commit is contained in:
parent
9b5534a6e0
commit
216d75ccae
@ -795,9 +795,9 @@ bool CvCaptureCAM_DC1394_v2_CPP::setProperty(int propId, double value)
|
|||||||
//first: check boundaries
|
//first: check boundaries
|
||||||
if (value < act_feature->min)
|
if (value < act_feature->min)
|
||||||
{
|
{
|
||||||
value = act_feature->min;
|
value = act_feature->min;
|
||||||
}
|
}
|
||||||
else if (value > act_feature->max)
|
else if (value > act_feature->max)
|
||||||
{
|
{
|
||||||
value = act_feature->max;
|
value = act_feature->max;
|
||||||
}
|
}
|
||||||
@ -806,7 +806,8 @@ bool CvCaptureCAM_DC1394_v2_CPP::setProperty(int propId, double value)
|
|||||||
{
|
{
|
||||||
act_feature->value = value;
|
act_feature->value = value;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user