Commit 403b9b36 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

added missing break in setProperty() method (ticket #1183)

parent 9d2d0404
...@@ -2985,6 +2985,7 @@ bool CvCaptureCAM_DShow::setProperty( int property_id, double value ) ...@@ -2985,6 +2985,7 @@ bool CvCaptureCAM_DShow::setProperty( int property_id, double value )
break; break;
case CV_CAP_PROP_FRAME_HEIGHT: case CV_CAP_PROP_FRAME_HEIGHT:
height = cvRound(value); height = cvRound(value);
break;
default: default:
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment