mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #3085 from nickdademo:pvapi_fix_decimation_enum
This commit is contained in:
@@ -349,7 +349,7 @@ bool CvCaptureCAM_PvAPI::setProperty( int property_id, double value )
|
||||
stopCapture();
|
||||
|
||||
// Reallocate Frames
|
||||
if (!resizeCaptureFrame(value, currWidth))
|
||||
if (!resizeCaptureFrame(currWidth, value))
|
||||
{
|
||||
startCapture();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user