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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user