1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merged few small fixes from 2.4 branch

This commit is contained in:
Andrey Kamaev
2012-06-30 13:36:27 +00:00
parent cdad4ac7c9
commit 27c23b557c
3 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -3278,7 +3278,7 @@ bool CvCaptureCAM_DShow::setProperty( int property_id, double value )
case CV_CAP_PROP_FPS:
int fps = cvRound(value);
if (fps != VI.getFPS(0))
if (fps != VI.getFPS(index))
{
VI.stopDevice(index);
VI.setIdealFramerate(index,fps);